Support open_timeout option in open-uri
I found it weird that open-uri accepts read_timeout option, but not open_timeout.
I believe this option should be added.
Updated by Anonymous almost 7 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]