Project

General

Profile

« Previous | Next » 

Revision 58adb163

Added by jeremyevans (Jeremy Evans) about 3 years ago

[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.

Fixes [Bug #16672]

https://github.com/ruby/net-http/commit/a7cb30124c