Skip to content

Instantly share code, notes, and snippets.

@hotgazpacho
Created April 16, 2015 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hotgazpacho/dab47a5bdd4ba66b4e14 to your computer and use it in GitHub Desktop.
Save hotgazpacho/dab47a5bdd4ba66b4e14 to your computer and use it in GitHub Desktop.
Net::HTTP in Ruby 2.1.5 vs 2.2.2
irb(main):002:0> URI.parse('http://')
URI::InvalidURIError: bad URI(absolute but no path): http://
irb(main):002:0> uri = URI.parse('http://')
=> #<URI::HTTP http:>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment