<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/open-uri.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/open-uri] Bump up v0.5.0</title>
<updated>2024-11-06T08:37:52+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-11-06T08:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f4227b664d8e74fc81adf0b31b2951c40fce0ea'/>
<id>8f4227b664d8e74fc81adf0b31b2951c40fce0ea</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/8f5a4ef6f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/8f5a4ef6f9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Update error message for `request_specific_fields` option validation</title>
<updated>2024-09-08T14:13:00+00:00</updated>
<author>
<name>otegami</name>
<email>otegami@clear-code.com</email>
</author>
<published>2024-09-06T00:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=903f3790ade13054af6a4c2f654d8b75edf0936e'/>
<id>903f3790ade13054af6a4c2f654d8b75edf0936e</id>
<content type='text'>
Added `inspect` to the `request_specific_fields` value to provide
better visibility for users in the exception message.

https://github.com/ruby/open-uri/commit/f89ce5112d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added `inspect` to the `request_specific_fields` value to provide
better visibility for users in the exception message.

https://github.com/ruby/open-uri/commit/f89ce5112d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Add documentation for `request_specific_fields` option</title>
<updated>2024-09-08T14:13:00+00:00</updated>
<author>
<name>otegami</name>
<email>otegami@clear-code.com</email>
</author>
<published>2024-08-28T08:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=76475bf5c090a482af0e656601c38d138205bad1'/>
<id>76475bf5c090a482af0e656601c38d138205bad1</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/2e7734c061
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/2e7734c061
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Add `request_specific_fields` option for customizing headers</title>
<updated>2024-09-08T14:12:59+00:00</updated>
<author>
<name>otegami</name>
<email>otegami@clear-code.com</email>
</author>
<published>2024-08-27T04:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6ea2b6f65f92c4b8cfd91a655dcd89a7082bf6e4'/>
<id>6ea2b6f65f92c4b8cfd91a655dcd89a7082bf6e4</id>
<content type='text'>
This commit introduces the `request_specific_fields` option in OpenURI.
It provides two methods for customizing headers as follows.

1. Specify headers only for the initial request

Use a Hash to apply headers only to the first request.
These headers are automatically removed during redirects.

2. Specify headers dynamically for each request

Use a Proc to dynamically generate headers for each request,
including during redirects, based on the request URL.

This feature allows users to control headers flexibly,
ensuring that sensitive headers like "Authorization" are not unintentionally
transferred during redirects unless explicitly specified.

https://github.com/ruby/open-uri/commit/460f858e3c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit introduces the `request_specific_fields` option in OpenURI.
It provides two methods for customizing headers as follows.

1. Specify headers only for the initial request

Use a Hash to apply headers only to the first request.
These headers are automatically removed during redirects.

2. Specify headers dynamically for each request

Use a Proc to dynamically generate headers for each request,
including during redirects, based on the request URL.

This feature allows users to control headers flexibly,
ensuring that sensitive headers like "Authorization" are not unintentionally
transferred during redirects unless explicitly specified.

https://github.com/ruby/open-uri/commit/460f858e3c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] document max_redirects option</title>
<updated>2024-07-11T04:49:59+00:00</updated>
<author>
<name>João Pinheiro</name>
<email>joao.castropinheiro@gmail.com</email>
</author>
<published>2024-03-09T15:58:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=72732af47eeedbca304e39c3b8c3820ed19c6d81'/>
<id>72732af47eeedbca304e39c3b8c3820ed19c6d81</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/4a247e5ca1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/4a247e5ca1
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] apply default max_redirects</title>
<updated>2024-07-11T04:49:59+00:00</updated>
<author>
<name>João Pinheiro</name>
<email>joao.castropinheiro@gmail.com</email>
</author>
<published>2024-03-09T15:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e62a0126cd3b4794a9cc5a7e40a237e1f7cec3b9'/>
<id>e62a0126cd3b4794a9cc5a7e40a237e1f7cec3b9</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/5d29e626bc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/5d29e626bc
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Bump up 0.4.1</title>
<updated>2023-12-07T07:22:20+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-12-07T07:21:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a41d6c825c4b1ed5699fd7880edeb8d4adfa5197'/>
<id>a41d6c825c4b1ed5699fd7880edeb8d4adfa5197</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/d72508a7f4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/d72508a7f4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Set default for max_redirects and add exception class</title>
<updated>2023-12-07T07:00:54+00:00</updated>
<author>
<name>Andrew Kane</name>
<email>andrew@ankane.org</email>
</author>
<published>2023-11-09T23:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=41c00bc97ebf237fd04ce740d0dfd0681f4a28c7'/>
<id>41c00bc97ebf237fd04ce740d0dfd0681f4a28c7</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/dcdcb885cc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/dcdcb885cc
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Add :max_redirects option</title>
<updated>2023-12-07T07:00:53+00:00</updated>
<author>
<name>Andrew Kane</name>
<email>andrew@ankane.org</email>
</author>
<published>2023-01-14T04:27:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d97479f9c966bd2c9d52c8be28aca9431760c610'/>
<id>d97479f9c966bd2c9d52c8be28aca9431760c610</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/7fd5ea09a7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/7fd5ea09a7
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/open-uri] Bump up 0.4.0</title>
<updated>2023-11-07T07:37:06+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-11-07T07:35:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b13d00a7c0e9795b4bdeaeffe2b7c25d6c61d95b'/>
<id>b13d00a7c0e9795b4bdeaeffe2b7c25d6c61d95b</id>
<content type='text'>
https://github.com/ruby/open-uri/commit/09df813305
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/open-uri/commit/09df813305
</pre>
</div>
</content>
</entry>
</feed>
