Created
April 16, 2015 17:27
-
-
Save hotgazpacho/dab47a5bdd4ba66b4e14 to your computer and use it in GitHub Desktop.
Net::HTTP in Ruby 2.1.5 vs 2.2.2
This file contains 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
irb(main):002:0> URI.parse('http://') | |
URI::InvalidURIError: bad URI(absolute but no path): http:// |
This file contains 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
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