<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/net, 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) e3a19b8a4306ae3103e6a27cdac7482585aac453:</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:45:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e7ad9a786dc4d4574f69629e9efa3d1d95413dca'/>
<id>e7ad9a786dc4d4574f69629e9efa3d1d95413dca</id>
<content type='text'>
	[ruby/net-http] Bump up 0.4.0

	https://github.com/ruby/net-http/commit/4be99c204c
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/net-http] Bump up 0.4.0

	https://github.com/ruby/net-http/commit/4be99c204c
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 66d266244c00c1f9ffcfbd2970386e0adcc2512a:</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:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c5cea385a5e42e464b436844f0ae185b17a93eb9'/>
<id>c5cea385a5e42e464b436844f0ae185b17a93eb9</id>
<content type='text'>
	[ruby/net-http] Removed obsolated Revision constant

	https://github.com/ruby/net-http/commit/c1c5638014
	---
	 lib/net/http.rb | 1 -
	 1 file changed, 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/net-http] Removed obsolated Revision constant

	https://github.com/ruby/net-http/commit/c1c5638014
	---
	 lib/net/http.rb | 1 -
	 1 file changed, 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) f109269a0392940df2b314e16502c4509b94a290,14fa5e39d72c84d3e12e10dc5d77a6e6200c10f5:</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:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4cbad13e9cd1c4cf63ad4adc096cc4b6294a838f'/>
<id>4cbad13e9cd1c4cf63ad4adc096cc4b6294a838f</id>
<content type='text'>
	[ruby/net-http] fix a false-negative test

	* no_proxy is meant to operate on the destination address, not on the name of the proxy
	* if both end with `'.example'`, the test does not nail down the behaviour

	https://github.com/ruby/net-http/commit/bb9a5cfa3d
	---
	 test/net/http/test_http.rb | 4 ++--
	 1 file changed, 2 insertions(+), 2 deletions(-)

	[ruby/net-http] fix no_proxy behaviour

	https://github.com/ruby/net-http/commit/f4951dc42a
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/net-http] fix a false-negative test

	* no_proxy is meant to operate on the destination address, not on the name of the proxy
	* if both end with `'.example'`, the test does not nail down the behaviour

	https://github.com/ruby/net-http/commit/bb9a5cfa3d
	---
	 test/net/http/test_http.rb | 4 ++--
	 1 file changed, 2 insertions(+), 2 deletions(-)

	[ruby/net-http] fix no_proxy behaviour

	https://github.com/ruby/net-http/commit/f4951dc42a
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</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>merge revision(s) 8d04260acd8b6fba98867acc1a7e786495813fa0,2fbd8dca18a102cb3ffc5e7e6235c09fd0d04ba3,4165ec91d87ff1fcb41e312d896bea8a678c9bab,4d21134f3f1645ae2042d836e750ad267ee1551f,70da92cdf7ac75e071353c4551419ad02c284497,ea321a654d4b4fd6d56a1cdd6e117c62075898ee,ae68a8df586e9f3b3211e9c174b7001e57ee6aee,af67ced3b0945e8ea67434f8e66ef1e602656438,e77c766b7ab17e801c5cfa881754c392f8c13f0b:</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:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=359653658e604c075e3eca73e20b02d0d46bd0ef'/>
<id>359653658e604c075e3eca73e20b02d0d46bd0ef</id>
<content type='text'>
	[ruby/net-http] turn on frozen strings for net/http/header

	https://github.com/ruby/net-http/commit/a5203c9f92
	---
	 lib/net/http/header.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] turn on frozen strings for net/http/generic_request

	https://github.com/ruby/net-http/commit/b92ade088d
	---
	 lib/net/http/generic_request.rb | 6 +++---
	 1 file changed, 3 insertions(+), 3 deletions(-)

	[ruby/net-http] update net/http/response to be frozen string literal

	https://github.com/ruby/net-http/commit/dc3b4a75ca
	---
	 lib/net/http/response.rb | 6 +++---
	 1 file changed, 3 insertions(+), 3 deletions(-)

	[ruby/net-http] freeze rest of lib

	https://github.com/ruby/net-http/commit/455a74734a
	---
	 lib/net/http.rb             | 2 +-
	 lib/net/http/backward.rb    | 2 +-
	 lib/net/http/exceptions.rb  | 2 +-
	 lib/net/http/proxy_delta.rb | 2 +-
	 lib/net/http/request.rb     | 2 +-
	 lib/net/http/requests.rb    | 2 +-
	 lib/net/https.rb            | 2 +-
	 7 files changed, 7 insertions(+), 7 deletions(-)

	[ruby/net-http] Fix on 2.7

	https://github.com/ruby/net-http/commit/5194fd541e
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] use +'' everywhere

	https://github.com/ruby/net-http/commit/1077427152
	---
	 lib/net/http/generic_request.rb | 4 ++--
	 lib/net/http/response.rb        | 2 +-
	 2 files changed, 3 insertions(+), 3 deletions(-)

	[ruby/net-http] Update lib/net/http/response.rb

	@natematykiewicz's suggestion to avoid a string allocation

	https://github.com/ruby/net-http/commit/925630f227

	Co-authored-by: Nate Matykiewicz &lt;natematykiewicz@gmail.com&gt;
	---
	 lib/net/http/response.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Update lib/net/http.rb

	@natematykiewicz's suggestion to avoid another string allocation

	https://github.com/ruby/net-http/commit/4a22c42338

	Co-authored-by: Nate Matykiewicz &lt;natematykiewicz@gmail.com&gt;
	---
	 lib/net/http.rb | 4 ++--
	 1 file changed, 2 insertions(+), 2 deletions(-)

	[ruby/net-http] No longer neccessary to call `String#freeze` on
	 string literals.

	See #144

	https://github.com/ruby/net-http/commit/5a986c13d3
	---
	 lib/net/http.rb                 | 2 +-
	 lib/net/http/generic_request.rb | 8 ++++----
	 2 files changed, 5 insertions(+), 5 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/net-http] turn on frozen strings for net/http/header

	https://github.com/ruby/net-http/commit/a5203c9f92
	---
	 lib/net/http/header.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] turn on frozen strings for net/http/generic_request

	https://github.com/ruby/net-http/commit/b92ade088d
	---
	 lib/net/http/generic_request.rb | 6 +++---
	 1 file changed, 3 insertions(+), 3 deletions(-)

	[ruby/net-http] update net/http/response to be frozen string literal

	https://github.com/ruby/net-http/commit/dc3b4a75ca
	---
	 lib/net/http/response.rb | 6 +++---
	 1 file changed, 3 insertions(+), 3 deletions(-)

	[ruby/net-http] freeze rest of lib

	https://github.com/ruby/net-http/commit/455a74734a
	---
	 lib/net/http.rb             | 2 +-
	 lib/net/http/backward.rb    | 2 +-
	 lib/net/http/exceptions.rb  | 2 +-
	 lib/net/http/proxy_delta.rb | 2 +-
	 lib/net/http/request.rb     | 2 +-
	 lib/net/http/requests.rb    | 2 +-
	 lib/net/https.rb            | 2 +-
	 7 files changed, 7 insertions(+), 7 deletions(-)

	[ruby/net-http] Fix on 2.7

	https://github.com/ruby/net-http/commit/5194fd541e
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] use +'' everywhere

	https://github.com/ruby/net-http/commit/1077427152
	---
	 lib/net/http/generic_request.rb | 4 ++--
	 lib/net/http/response.rb        | 2 +-
	 2 files changed, 3 insertions(+), 3 deletions(-)

	[ruby/net-http] Update lib/net/http/response.rb

	@natematykiewicz's suggestion to avoid a string allocation

	https://github.com/ruby/net-http/commit/925630f227

	Co-authored-by: Nate Matykiewicz &lt;natematykiewicz@gmail.com&gt;
	---
	 lib/net/http/response.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Update lib/net/http.rb

	@natematykiewicz's suggestion to avoid another string allocation

	https://github.com/ruby/net-http/commit/4a22c42338

	Co-authored-by: Nate Matykiewicz &lt;natematykiewicz@gmail.com&gt;
	---
	 lib/net/http.rb | 4 ++--
	 1 file changed, 2 insertions(+), 2 deletions(-)

	[ruby/net-http] No longer neccessary to call `String#freeze` on
	 string literals.

	See #144

	https://github.com/ruby/net-http/commit/5a986c13d3
	---
	 lib/net/http.rb                 | 2 +-
	 lib/net/http/generic_request.rb | 8 ++++----
	 2 files changed, 5 insertions(+), 5 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 0300ea5a6c8a7a49feed73318fc8a991aa89fcfc:</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:36:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=affd2c02962a83b353acd846d99500f3b7994009'/>
<id>affd2c02962a83b353acd846d99500f3b7994009</id>
<content type='text'>
	[ruby/net-http] Improve performance of HTTPHeader#content_type

	In the existing implementation, `main_type` and `sub_type` would end up
	being called multiple times potentially.

	Instead of doing that, save the result so it can be re-used.

	https://github.com/ruby/net-http/commit/179976f7ea
	---
	 lib/net/http/header.rb | 12 ++++++++----
	 1 file changed, 8 insertions(+), 4 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/net-http] Improve performance of HTTPHeader#content_type

	In the existing implementation, `main_type` and `sub_type` would end up
	being called multiple times potentially.

	Instead of doing that, save the result so it can be re-used.

	https://github.com/ruby/net-http/commit/179976f7ea
	---
	 lib/net/http/header.rb | 12 ++++++++----
	 1 file changed, 8 insertions(+), 4 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>partially merge revision cfa6a892d05c5dcbd8fcd7c78cdbac49a8ff6100:</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:36:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ca83700944623d5934a6979ed209733045ac541c'/>
<id>ca83700944623d5934a6979ed209733045ac541c</id>
<content type='text'>
Redirect to  for the portability
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Redirect to  for the portability
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 1b4c1492c1704407f86af2882efebc047b9c2d26,62e2b61607c04ff0d2543f0515b2171a24e66b4e,fd0a5659cadb49f1640b20896cd750decdbbd701,c8c3431b0a5995d58f97c511ffa0a39e0f19c75e,755c379d877c66916d20840f07738d6050da3ca2,030f39822ac9d6d7dcdb639e099b320d3517c19c,2f19c5b7e080f75c3373c5b1671b4d4cfab6d334:</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:32:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e337b858343f12a2765505dc958ab22c7e134cc9'/>
<id>e337b858343f12a2765505dc958ab22c7e134cc9</id>
<content type='text'>
	[ruby/net-http] [DOC] What's Here for Net:HTTP
	 (https://github.com/ruby/net-http/pull/128)

	https://github.com/ruby/net-http/commit/39e70f0f9b
	---
	 lib/net/http.rb | 269 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
	 1 file changed, 267 insertions(+), 2 deletions(-)

	Replaced non-ascii charactor. It fails version detection at
	 `net-http.gemspec`.

	  &gt;#   Returns the X509 certificate chain for the session&lt;E2&gt;&lt;80&gt;&lt;99&gt;s socket peer.
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Test building packages

	Also revert commit https://github.com/ruby/net-http/commit/d22ca54904de "Replaced
	non-ascii charactor. It fails version detection at `net-http.gemspec`."

	https://github.com/ruby/net-http/commit/fbeb247d93
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Read in binary mode to get rid of invalid byte
	 sequence

	https://github.com/ruby/net-http/commit/38de3d17a7
	---
	 lib/net/http/net-http.gemspec | 11 ++++++++---
	 1 file changed, 8 insertions(+), 3 deletions(-)

	[ruby/net-http] Exclude git related files

	https://github.com/ruby/net-http/commit/2767df580d
	---
	 lib/net/http/net-http.gemspec | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Re-apply
	 https://github.com/ruby/net-http/commit/d22ca54904de after testing

	https://github.com/ruby/net-http/commit/7ac7401a9c
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Enhanced RDoc for Net::HTTP
	 (https://github.com/ruby/net-http/pull/130)

	https://github.com/ruby/net-http/commit/698e18cfc1
	---
	 lib/net/http/response.rb | 53 ++++++++++++++++++++++++++++++++----------------
	 1 file changed, 36 insertions(+), 17 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/net-http] [DOC] What's Here for Net:HTTP
	 (https://github.com/ruby/net-http/pull/128)

	https://github.com/ruby/net-http/commit/39e70f0f9b
	---
	 lib/net/http.rb | 269 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
	 1 file changed, 267 insertions(+), 2 deletions(-)

	Replaced non-ascii charactor. It fails version detection at
	 `net-http.gemspec`.

	  &gt;#   Returns the X509 certificate chain for the session&lt;E2&gt;&lt;80&gt;&lt;99&gt;s socket peer.
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Test building packages

	Also revert commit https://github.com/ruby/net-http/commit/d22ca54904de "Replaced
	non-ascii charactor. It fails version detection at `net-http.gemspec`."

	https://github.com/ruby/net-http/commit/fbeb247d93
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Read in binary mode to get rid of invalid byte
	 sequence

	https://github.com/ruby/net-http/commit/38de3d17a7
	---
	 lib/net/http/net-http.gemspec | 11 ++++++++---
	 1 file changed, 8 insertions(+), 3 deletions(-)

	[ruby/net-http] Exclude git related files

	https://github.com/ruby/net-http/commit/2767df580d
	---
	 lib/net/http/net-http.gemspec | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Re-apply
	 https://github.com/ruby/net-http/commit/d22ca54904de after testing

	https://github.com/ruby/net-http/commit/7ac7401a9c
	---
	 lib/net/http.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	[ruby/net-http] Enhanced RDoc for Net::HTTP
	 (https://github.com/ruby/net-http/pull/130)

	https://github.com/ruby/net-http/commit/698e18cfc1
	---
	 lib/net/http/response.rb | 53 ++++++++++++++++++++++++++++++++----------------
	 1 file changed, 36 insertions(+), 17 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 9cc0ac22f7c9f37aa7fadfe5606ce2feed260d2d:</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:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0869dc58d601022f31065aa064b1cda02f53a7de'/>
<id>0869dc58d601022f31065aa064b1cda02f53a7de</id>
<content type='text'>
	Update lib/net/http/status.rb

	---
	 lib/net/http/status.rb | 9 +++++----
	 1 file changed, 5 insertions(+), 4 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Update lib/net/http/status.rb

	---
	 lib/net/http/status.rb | 9 +++++----
	 1 file changed, 5 insertions(+), 4 deletions(-)
</pre>
</div>
</content>
</entry>
</feed>
