Fix hangs on streaming uploads with HTTPDigestAuth
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When using Digest Authentication, the client resends the same request after the server responds with the 401 "Unauthorized". However, when doing streaming uploads, it gets stuck because the body data (a file-like object) is already consumed at the initial request. The patch fixes this by rewinding the file-like object before resending the request.
authored by Akira Kitada · committed by Akira Kitada · parent 3327652 · Browse files · 1 file+9 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+9 added−0 removed
- other:+9 added−0 removed