Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: add possibility to debug response inside CheckRedirect #12697
Right now it is not possible to debug server response inside CheckRedirect function. It becomes annoying especially when you use HTTPS connection and can not figure out why your code doesn't work.
I suppose it should be like:
The canonical way to debug servers is to implement a RoundTripper that dumps the request and response. You can use