ruby--ruby/test/net/http
Jeremy Evans 0579486f15 [ruby/net-http] Update the content-length heading when decoding bodies
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]

https://github.com/ruby/net-http/commit/58284e9710

Co-authored-by: st0012 <stan001212@gmail.com>
2022-04-14 00:11:26 +09:00
..
test_buffered_io.rb
test_http.rb [ruby/net-http] Add HTTP#response_body_encoding for setting response body encoding 2022-04-12 00:17:34 +09:00
test_http_request.rb
test_httpheader.rb
test_httpresponse.rb [ruby/net-http] Update the content-length heading when decoding bodies 2022-04-14 00:11:26 +09:00
test_httpresponses.rb
test_https.rb [ruby/net-http] Do not set SNI hostname if connecting to IP address 2022-02-03 05:10:21 +09:00
test_https_proxy.rb
utils.rb