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
Being redirected will not apply cookies to the subsequent requests, even if the sensitive headers is fully unset.
After the request chain completes the last response receive only has set cookies from that response, not from all the requests leading up to it.
I have PR #2672 submission that has a test case that covers these issues.
Resolution is unclear as there are a few options.
Keeping things as is, maybe improving documentation in regards to edge cases & potential solutions.
Some new configuration option to the FollowRedirectsBackend
which applies cookies on re-direct chain requests, maybe selecting from some collection cookies that are for the same domain as the location?
updating response cookies to also include cookies set during the request chain or a new method that merges request history & cookies.