Closed
Description
When get a http response with status 302 and no Location Header
- call
redirectBehavior
getshouldRedirect
true
https://github.com/golang/go/blob/master/src/net/http/client.go#L738 - build next request ,and check Location Header https://github.com/golang/go/blob/master/src/net/http/client.go#L645
- call
CheckRedirect
It should be:
- call
redirectBehavior
getshouldRedirect
true
- call
CheckRedirect
- build next request ,and check Location Header https://github.com/golang/go/blob/master/src/net/http/client.go#L645