1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00
httparty/spec
John Nunemaker 8b528632c1 Added first class response object that includes original body and status code.
response = HTTParty.get('http://google.com')
  puts response.original_body, response.status

Now parsing all response types and no longer raising exceptions. This is
because some non-200 responses return important information.
2009-01-28 14:46:15 -05:00
..
fixtures spec'd empty responses 2009-01-28 13:17:39 -05:00
httparty Added first class response object that includes original body and status code. 2009-01-28 14:46:15 -05:00
as_buggery_spec.rb Removed Hash#from_xml method from HTTParty and added regression spec to make sure HTTParty doesn't foobar ActiveSupport. 2008-12-08 21:14:49 -05:00
httparty_spec.rb spec'd empty responses 2009-01-28 13:17:39 -05:00
spec.opts Spec opts now uses progress format 2008-11-08 14:00:32 -05:00
spec_helper.rb refactor private request methods to make them better testable 2009-01-29 02:27:37 +08:00