You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var (
// can't patch existing HTTP client because we could end up modifying `http.DefaultClient`// https://stackoverflow.com/a/38150816noFollowRedirects=ezhttp.Client(&http.Client{
CheckRedirect: func(_*http.Request, _ []*http.Request) error {
// no error - just don't follow redirectsreturnhttp.ErrUseLastResponse
},
})
)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: