ActionsLike0
Bug #5545
closedNet::HTTP breaks with https URI objects
Description
uri = URI('https://example.com/index.html?count=10')
Net::HTTP.get(uri)
will currently fail with an obscure error due to Net::HTTP attempting to speak HTTP to an HTTPS service.
I believe this is a bug, and have patched lib/net/http.rb to use SSL when you use an https URI with the get and post_form helpers.
Files
Updated by ferlatte (Mark Ferlatte) over 13 years ago
- File http.rb.diff http.rb.diff added
Updated by MartinBosslet (Martin Bosslet) over 13 years ago
- Status changed from Open to Assigned
- Assignee set to drbrain (Eric Hodel)
- Target version set to 2.0.0
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
ActionsLike0