We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MiniPortile#download_file_http relies on the Content-Length header, but it isn't sent when Content-Encoding is chunked. In this case, content_length_proc is called with nil. https://github.com/flavorjones/mini_portile/blob/v2.3.0/lib/mini_portile2/mini_portile.rb#L454-L460 Although mini_portile requests with Accept-Encoding: identity, some servers (e.g., GitHub) respond with Content-Encoding: chunked
MiniPortile#download_file_http
content_length_proc
Accept-Encoding: identity
Content-Encoding: chunked
The text was updated successfully, but these errors were encountered:
Closing the loop: this was addressed via #86 in v2.4.0.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
MiniPortile#download_file_http
relies on the Content-Length header, but it isn't sent when Content-Encoding is chunked. In this case,content_length_proc
is called with nil.https://github.com/flavorjones/mini_portile/blob/v2.3.0/lib/mini_portile2/mini_portile.rb#L454-L460
Although mini_portile requests with
Accept-Encoding: identity
, some servers (e.g., GitHub) respond withContent-Encoding: chunked
The text was updated successfully, but these errors were encountered: