Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

EOFError: end of file reached

# USE :
parsed_url = URI.parse(url)
http = Net::HTTP.new(parsed_url.host, parsed_url.port)
http.use_ssl = true 


# With HTTParty :

res = HTTParty.get(url, verify: false)

ap res.body
 
PREVIOUS NEXT
Tagged: #file #reached
ADD COMMENT
Topic
Name
4+5 =