mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Previously, the content-encoding header was removed and the body
was modified, but the content-length header was not modified,
resulting in the content-length header not matching the body
length.
Don't delete content-length before yielding inflate body, as that
causes a switch to read the entire body instead of reading in
chunks.
Fixes [Bug #16672]
|
||
|---|---|---|
| .. | ||
| http | ||
| http.rb | ||
| https.rb | ||
| net-protocol.gemspec | ||
| protocol.rb | ||