In the sample above I try to proxy request through this extension, the request originally made to https://goo.gl which got redirected to another url. The final url is properly exposed as shown on the screenshot.
Note
The var name responseURL is opinionated, I just derive it from the original Axios' var name, let me know if you prefer other name.
Address https://github.com/hoppscotch/hoppscotch-extension/issues/41
What does this PR changes?
This expose Axios'
response.request.responseURL
value of response object, as aresponse.responseURL
:For more details and context, please check the linked issue above.
Tested? ✅
Works fine:
Version 89.0.4389.90 (Official Build) (x86_64)
. Mac OS BigSur.Sample result:
In the sample above I try to proxy request through this extension, the request originally made to
https://goo.gl
which got redirected to another url. The final url is properly exposed as shown on the screenshot.Note
The var name
responseURL
is opinionated, I just derive it from the original Axios' var name, let me know if you prefer other name.Thanks!