Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't clear headers on redirect (#5973)
Current implementation clears _headers when request was sent. If the user added custom request headers, they will be lost and the redirected request will not contain them. This commit changes the scope of cleanup so that the headers survive redirects but don't survive connection reuse.
- Loading branch information