<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/net/http, branch ruby_2_7</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Fix previous commit</title>
<updated>2023-03-30T12:34:08+00:00</updated>
<author>
<name>NAKAMURA Usaku</name>
<email>usa@ruby-lang.org</email>
</author>
<published>2023-03-30T12:34:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1f4d4558484b370999954f3ede7e3aa3a3a01ef3'/>
<id>1f4d4558484b370999954f3ede7e3aa3a3a01ef3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Limit header length</title>
<updated>2023-03-30T11:08:27+00:00</updated>
<author>
<name>NAKAMURA Usaku</name>
<email>usa@ruby-lang.org</email>
</author>
<published>2023-03-30T11:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=153bdddfc2461ba0731e1d03982fee41d5e2b2aa'/>
<id>153bdddfc2461ba0731e1d03982fee41d5e2b2aa</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) 5a79d8e0507cd143100bf928a88a59a8b5a5bca6,160511d851375f7cb922faae3a9310633187f51f: [Backport #16925]</title>
<updated>2020-07-23T02:11:12+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-07-23T02:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc39480cf9f2767967b6bcc69ccb3c201e5b2231'/>
<id>cc39480cf9f2767967b6bcc69ccb3c201e5b2231</id>
<content type='text'>
	Fix error raised by Net::HTTPResponse#inflater if the block raises

	* See https://bugs.ruby-lang.org/issues/13882#note-6

	Quarantine specs which fail frequently with CHECK_LEAKS=true
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix error raised by Net::HTTPResponse#inflater if the block raises

	* See https://bugs.ruby-lang.org/issues/13882#note-6

	Quarantine specs which fail frequently with CHECK_LEAKS=true
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "lib/net/http/response.rb: support raw deflate correctly"</title>
<updated>2019-12-16T14:39:10+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2019-12-16T14:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=251f5d8226dbde06ba06e980e3b741b45ae3826d'/>
<id>251f5d8226dbde06ba06e980e3b741b45ae3826d</id>
<content type='text'>
This reverts commit 5105240b1e851410020b3b3f1a2bead7ffdd4291.

In RFC 2616:

```
   deflate
        The "zlib" format defined in RFC 1950 [31] in combination with
        the "deflate" compression mechanism described in RFC 1951 [29].
```

So "Content-Encoding: deflate" means zlib format, not raw deflate.

[Bug #11268]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 5105240b1e851410020b3b3f1a2bead7ffdd4291.

In RFC 2616:

```
   deflate
        The "zlib" format defined in RFC 1950 [31] in combination with
        the "deflate" compression mechanism described in RFC 1951 [29].
```

So "Content-Encoding: deflate" means zlib format, not raw deflate.

[Bug #11268]
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/net/http/response.rb: support raw deflate correctly</title>
<updated>2019-12-16T14:20:42+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2019-12-16T14:20:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5105240b1e851410020b3b3f1a2bead7ffdd4291'/>
<id>5105240b1e851410020b3b3f1a2bead7ffdd4291</id>
<content type='text'>
Net::HTTP had used `Zlib::Inflate.new(32 + Zlib::MAX_WBITS)` for all
content encoding (deflate, zlib, and gzip).
But the argument `32 + Zlib::MAX_WBITS` means zlib and gzip decoding
with automatic header detection, so (raw) deflate compression had not
been supported.

This change makes it support raw deflate correctly by passing an
argument `-Zlib::MAX_WBITS` (which means raw deflate) to
`Zlib::Inflate.new`.  All deflate-mode tests are fixed too.

[Bug #11268]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Net::HTTP had used `Zlib::Inflate.new(32 + Zlib::MAX_WBITS)` for all
content encoding (deflate, zlib, and gzip).
But the argument `32 + Zlib::MAX_WBITS` means zlib and gzip decoding
with automatic header detection, so (raw) deflate compression had not
been supported.

This change makes it support raw deflate correctly by passing an
argument `-Zlib::MAX_WBITS` (which means raw deflate) to
`Zlib::Inflate.new`.  All deflate-mode tests are fixed too.

[Bug #11268]
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo [ci skip]</title>
<updated>2019-11-15T02:01:06+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2019-11-15T02:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6744593b8cd836967b40a4d76a9ac301b9e0f973'/>
<id>6744593b8cd836967b40a4d76a9ac301b9e0f973</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve Net::HTTP docs:</title>
<updated>2019-10-26T17:24:20+00:00</updated>
<author>
<name>zverok</name>
<email>zverok.offline@gmail.com</email>
</author>
<published>2019-10-26T09:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=62212482947066d2cbf4dad6ebe60facf35ef223'/>
<id>62212482947066d2cbf4dad6ebe60facf35ef223</id>
<content type='text'>
* Make links from Net::GenericHTTPRequest work;
* Document +dest+ param of HTTPResponse#read_body;
* Slightly improve reference to particular response
  classes from HTTPResponse class docs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make links from Net::GenericHTTPRequest work;
* Document +dest+ param of HTTPResponse#read_body;
* Slightly improve reference to particular response
  classes from HTTPResponse class docs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove uselsess shebang</title>
<updated>2019-10-09T03:41:41+00:00</updated>
<author>
<name>Pavel Valena</name>
<email>pvalena@redhat.com</email>
</author>
<published>2019-09-25T13:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b439ee1b8fa8d8a99f3f519af946ead94917edb2'/>
<id>b439ee1b8fa8d8a99f3f519af946ead94917edb2</id>
<content type='text'>
as the file is not executable anyway.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as the file is not executable anyway.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo: duplicated the [skip-ci]</title>
<updated>2019-08-09T23:23:49+00:00</updated>
<author>
<name>ohbarye</name>
<email>over.rye@gmail.com</email>
</author>
<published>2019-08-09T16:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b1678338e545589540b1dd85dee6a18fd98aa8ed'/>
<id>b1678338e545589540b1dd85dee6a18fd98aa8ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Show the caller's location</title>
<updated>2019-07-23T15:26:28+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-07-23T15:24:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c9826c20d204d4b8894e6fd51e5913959676776d'/>
<id>c9826c20d204d4b8894e6fd51e5913959676776d</id>
<content type='text'>
* lib/net/http/header.rb: show the caller's location instead of
  the current lines.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib/net/http/header.rb: show the caller's location instead of
  the current lines.
</pre>
</div>
</content>
</entry>
</feed>
