Intercepting redirect in httprequest or REST

I am trying to get data from a 3rd party server, which redirects (302 with a new location). When I use the OutSystems REST consumption or the HTTPRequesthandler, I get a timeout because of this. I would like to intercept and get the headers of the redirect. I tried the “on after response” event but it looks like that is not reached with a redirect? In any case, I do not get that to work.

Any suggestions as to how to get the headers of the redirect response? Thanks, Denis.