mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Merge pull request #274 from bradgessler/master
Initialize HTTParty requests with an URI object and a String.
This commit is contained in:
commit
036b783d78
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module HTTParty
|
|||
end
|
||||
|
||||
def path=(uri)
|
||||
@path = URI.parse(uri)
|
||||
@path = URI(uri)
|
||||
end
|
||||
|
||||
def request_uri(uri)
|
||||
|
|
Loading…
Add table
Reference in a new issue