Created
July 24, 2014 11:04
-
-
Save memememomo/9f401bf45a210d8526bf to your computer and use it in GitHub Desktop.
Net::HTTP で、「end of file reached (EOFError)」というエラーが出た ref: http://qiita.com/uchiko/items/9e4ce392e9f9d5d2ddb8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parsed_url = URI.parse(url) | |
| http = Net::HTTP.new(parsed_url.host, parsed_url.port) | |
| http.use_ssl = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment