<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/net/http/test_httpresponse.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Bump up net-http to 0.4.1</title>
<updated>2024-01-05T09:21:44+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-01-05T08:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3bd9adadbe0b500cf7e910c99db97aaddfba3369'/>
<id>3bd9adadbe0b500cf7e910c99db97aaddfba3369</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 9d58f9382893a71d8badad605879c0120915fbee:</title>
<updated>2023-12-16T01:48:39+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2023-12-16T01:40:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=06051311d828bead3922ac5766822000c011e5db'/>
<id>06051311d828bead3922ac5766822000c011e5db</id>
<content type='text'>
	[ruby/net-http] Net::HTTPResponse nil checking

	Fix nil handling in read_body and stream_check.

	Fixes: #70

	https://github.com/ruby/net-http/commit/36f916ac18
	---
	 lib/net/http/response.rb           |  3 ++-
	 test/net/http/test_httpresponse.rb | 35 +++++++++++++++++++++++++++++++++++
	 2 files changed, 37 insertions(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/net-http] Net::HTTPResponse nil checking

	Fix nil handling in read_body and stream_check.

	Fixes: #70

	https://github.com/ruby/net-http/commit/36f916ac18
	---
	 lib/net/http/response.rb           |  3 ++-
	 test/net/http/test_httpresponse.rb | 35 +++++++++++++++++++++++++++++++++++
	 2 files changed, 37 insertions(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Update the content-length heading when decoding bodies</title>
<updated>2022-04-13T15:11:26+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-03-01T21:48:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0579486f154e80d17521494003dcd2499ef74688'/>
<id>0579486f154e80d17521494003dcd2499ef74688</id>
<content type='text'>
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 &lt;stan001212@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;stan001212@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Add HTTP#response_body_encoding for setting response body encoding</title>
<updated>2022-04-11T15:17:34+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-04-11T15:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ebb4378237e572ce2e888136a613c7c051439f95'/>
<id>ebb4378237e572ce2e888136a613c7c051439f95</id>
<content type='text'>
This allows for the ability to opt-in to a method to set the
encoding of response bodies.  By setting the accessor to a String
or Encoding instance, it will use the specified encoding.
Setting the value of true will try to detect the encoding of the
response body, either using the Content-Type header (assuming it
specifies charset) or by scanning for a &lt;meta&gt; tag in the document
that specifies the encoding.  The default is false in which case
no forcing of encoding will be done (same as before the patch).

Implements [Feature #2567]
Implements [Feature #15517]

https://github.com/ruby/net-http/commit/6233e6b7c1

Co-authored-by: Yui Naruse &lt;naruse@ruby-lang.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows for the ability to opt-in to a method to set the
encoding of response bodies.  By setting the accessor to a String
or Encoding instance, it will use the specified encoding.
Setting the value of true will try to detect the encoding of the
response body, either using the Content-Type header (assuming it
specifies charset) or by scanning for a &lt;meta&gt; tag in the document
that specifies the encoding.  The default is false in which case
no forcing of encoding will be done (same as before the patch).

Implements [Feature #2567]
Implements [Feature #15517]

https://github.com/ruby/net-http/commit/6233e6b7c1

Co-authored-by: Yui Naruse &lt;naruse@ruby-lang.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Revert "Update the content-length heading when decoding bodies"</title>
<updated>2022-04-02T21:51:07+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-04-02T21:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7648bae4c86121b0b259587da11d27297c248633'/>
<id>7648bae4c86121b0b259587da11d27297c248633</id>
<content type='text'>
This reverts commit https://github.com/ruby/net-http/commit/a7cb30124cf1.

This is causing errors in Ruby's CI, will revert for now and
try again after testing a fix with Ruby's CI.

https://github.com/ruby/net-http/commit/7b852b1feb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit https://github.com/ruby/net-http/commit/a7cb30124cf1.

This is causing errors in Ruby's CI, will revert for now and
try again after testing a fix with Ruby's CI.

https://github.com/ruby/net-http/commit/7b852b1feb
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Update the content-length heading when decoding bodies</title>
<updated>2022-04-01T17:49:21+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-03-01T21:48:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=58adb1636be32fb95173f01e448673dbae4511b0'/>
<id>58adb1636be32fb95173f01e448673dbae4511b0</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Remove redundant MJIT condition</title>
<updated>2022-01-17T08:11:27+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2022-01-17T06:10:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=549af505c5587267d114dd5ffb816047e7f22b4f'/>
<id>549af505c5587267d114dd5ffb816047e7f22b4f</id>
<content type='text'>
ref https://github.com/ruby/ruby/commit/da0f67c0383f57129c7a76255964b1ee739d8db8

https://github.com/ruby/net-http/commit/dbeb5f1c8f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ref https://github.com/ruby/ruby/commit/da0f67c0383f57129c7a76255964b1ee739d8db8

https://github.com/ruby/net-http/commit/dbeb5f1c8f
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for removing RubyVM::JIT (#5262)</title>
<updated>2021-12-14T07:07:46+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2021-12-14T07:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1a63468831524f68e73cbb068071652c6486cfc6'/>
<id>1a63468831524f68e73cbb068071652c6486cfc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Use omit instead of skip for test-unit</title>
<updated>2021-09-11T01:25:34+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-09-11T01:24:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2bc85766c0886fd690576f19fb3cc454dbb818bf'/>
<id>2bc85766c0886fd690576f19fb3cc454dbb818bf</id>
<content type='text'>
https://github.com/ruby/net-http/commit/5bb14fd3bc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/net-http/commit/5bb14fd3bc
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a warning</title>
<updated>2021-01-23T01:52:17+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2021-01-23T01:52:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9de68a52213873da84a5341fd3db15e5c8b6cb9a'/>
<id>9de68a52213873da84a5341fd3db15e5c8b6cb9a</id>
<content type='text'>
```
.../ruby/test/net/http/test_httpresponse.rb:81: warning: constant RubyVM::MJIT is deprecated
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
.../ruby/test/net/http/test_httpresponse.rb:81: warning: constant RubyVM::MJIT is deprecated
```
</pre>
</div>
</content>
</entry>
</feed>
