1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Merge pull request #103 from benmanns/master

Request#handle_response no longer throws exceptions (but documentation says it does).
This commit is contained in:
John Nunemaker 2011-10-05 08:17:18 -07:00
commit c1bcd310a4

View file

@ -180,7 +180,6 @@ module HTTParty
query_string_parts.size > 0 ? query_string_parts.join('&') : nil
end
# Raises exception Net::XXX (http error code) if an http error occured
def handle_response
if response_redirects?
options[:limit] -= 1