Hi! First of all I would like to thank you for this wonderful project!
Here's the question: is there any way to get the response headers coming along with redirect response from server?
In sources I see that I can control redirects using RedirectHandler. However this callback has only two parameters: req *http.Request, via []*http.Request. From here I can not get headers received from server that are coming with 301 code. Are there any hidden options to get those headers?
Hi! First of all I would like to thank you for this wonderful project!
Here's the question: is there any way to get the response headers coming along with redirect response from server?
In sources I see that I can control redirects using RedirectHandler. However this callback has only two parameters:
req *http.Request, via []*http.Request. From here I can not get headers received from server that are coming with 301 code. Are there any hidden options to get those headers?