Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initialize HTTParty requests with an URI object and a String.

  • Loading branch information...
commit fc816b831c84bf73879cd4a814d887eb47bde90b 1 parent 3c01a60
@bradgessler bradgessler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/httparty/request.rb
View
2  lib/httparty/request.rb
@@ -43,7 +43,7 @@ def initialize(http_method, path, o={})
end
def path=(uri)
- @path = URI.parse(uri)
+ @path = URI(uri)
end
def request_uri(uri)
Please sign in to comment.
Something went wrong with that request. Please try again.