Actions
Feature #10361
closedSupport open_timeout option in open-uri
Description
I found it weird that open-uri accepts read_timeout option, but not open_timeout.
I believe this option should be added.
Files
Updated by Anonymous about 10 years ago
- 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]
Actions
Like0
Like0