Feature #10361
closed
Support open_timeout option in open-uri
Added by kirs (Kir Shatrov) about 10 years ago.
Updated about 10 years ago.
Description
I found it weird that open-uri accepts read_timeout option, but not open_timeout.
I believe this option should be added.
Files
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r47869.
open-uri: accept :open_timeout option
- lib/open-uri.rb (OpenURI::Options): add :open_timeout default
- (def OpenURI.open_http): check :open_timeout option
- (module OpenURI): rdoc for :open_timeout
- test/open-uri/test_open-uri.rb (test_open_timeout): new test
[Feature #10361]
Also available in: Atom
PDF
Like0
Like0