Qunar Tech Salon
Dec 21, 2016 · Backend Development
Understanding net/http.Client Redirect Behavior and Cookie Handling in Go
This article explains why a Go http.Client does not automatically carry cookies during redirects, how the default redirect logic works for different HTTP methods, and how to enable cookie storage with CookieJar or disable redirects using CheckRedirect.
CheckRedirectCookieJarGo
0 likes · 5 min read