-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response body for redirects not ignored in streaming mode #1165
Comments
Ok, so you're saying the issue is that in the 2nd case, both the redirect body and the redirected body are both written to the response_stream? Yeah, I agree we don't want that behavior. I've put up #1168 for now to see how CI looks; not sure if it may unintentionally break something else. |
Yea sorry if the description wasn't so clear. Basically, only the last body should be written. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HTTP.jl do not ignore the response body in redirects as discovered here: https://discourse.julialang.org/t/unexpected-end-of-data-when-updating-registries-with-localpackageserver/112782. The is introduced in HTTP.jl 1.6 (1.0 - 1.5 is OK) so the bug is in this range: v1.5.5...v1.6.3 which includes a number of patches related to redirects.
Sample server:
HTTP.jl:
curl:
The text was updated successfully, but these errors were encountered: