Permalink
Browse files

Merge pull request #274 from bradgessler/master

Initialize HTTParty requests with an URI object and a String.
  • Loading branch information...
2 parents 3c01a60 + fc816b8 commit 036b783d78820e51894b13e8ca3a4f85dac8cc01 @jnunemaker committed Mar 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/httparty/request.rb
View
@@ -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)

0 comments on commit 036b783

Please sign in to comment.