Is your feature request related to a problem? Please describe.
Redirects happen transparently by net/http (and limit to 10 redirects) As a result, I'm unable to track the redirect history of a call.
Describe the solution you'd like
The net/http module supports a custom redirect function (CheckRedirect). It would be great to disable redirects entirely and return 301/302 or to set up a different limit.
Is your feature request related to a problem? Please describe.
Redirects happen transparently by net/http (and limit to 10 redirects) As a result, I'm unable to track the redirect history of a call.
Describe the solution you'd like
The net/http module supports a custom redirect function (CheckRedirect). It would be great to disable redirects entirely and return 301/302 or to set up a different limit.