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

20 commits

Author SHA1 Message Date
John Nunemaker
411340826b Fixed weird uri normalizing issue that occurred when I was doing normalization in request object. Also caught a piece of ActiveSupport Hash#to_query that I was using. Added Hash#to_params to fix that bug. 2008-12-06 23:41:28 -05:00
John Nunemaker
aa09eb4c65 Moved module inheritable attributes to it's own file. Added specs for HTTParty.get. 2008-12-06 19:43:31 -05:00
John Nunemaker
ab17bb371d Fixed that base_uri was not always being normalized. [#13 state:resolved] 2008-12-01 09:44:30 -05:00
John Nunemaker
c531652d81 Made it so that multiple class definitions don't overrun each others options by using class instance variable instead of class variable. [#11 state:resolved] 2008-11-30 23:58:06 -05:00
John Nunemaker
9931e2a20d Fixed failing specs. 2008-11-11 23:27:58 -05:00
Rein Henrichs
7bdca06bd4 Moving send_request and friends into HTTParty::Request 2008-11-08 13:59:57 -05:00
Rein Henrichs
a2fd09256f Replacing string parameters with Net::HTTP classes
- send_request now uses the Net::HTTP classes directly
  rather than using const_get to grab them from 'get', etc.
2008-11-08 12:05:59 -05:00
John Nunemaker
bcc38bcf32 Cleaned up base uri normalization. 2008-11-08 11:18:25 -05:00
Alex Vollmer
ae7ce30977 Add the ability to automatically follow redirects and to turn it off. 2008-10-25 00:34:33 -04:00
John Nunemaker
f90c40914a Fixed failing specs. 2008-10-25 00:34:25 -04:00
Alex Vollmer
31ad4f91c8 Treat nil or empty bodies specially to avoid blowing up during response parsing. 2008-10-25 00:32:31 -04:00
John Nunemaker
9b423a22c9 :body and :query now both take either a hash or a query string [#4 state:resolved] 2008-07-31 00:22:59 -04:00
John Nunemaker
3a8ad1da07 Added :basic_auth as an option key when making a request. [#1 state:resolved] 2008-07-31 00:05:36 -04:00
John Nunemaker
f4570a46c1 base_uri is no longer required. #get can take a full url and will fetch response. 2008-07-28 15:47:05 -04:00
John Nunemaker
a8ff3e3639 Added some argument errors and specs. 2008-07-28 13:32:35 -04:00
John Nunemaker
236b3ad4e0 Made it so default_params actually get merged into request. 2008-07-28 12:40:40 -04:00
John Nunemaker
0c05dcda55 Added #default_params method. Tweaked specs a bit. 2008-07-28 12:08:21 -04:00
John Nunemaker
0a1737e276 Added several specs for httparty and refactored a few methods along the way. 2008-07-28 11:56:58 -04:00
John Nunemaker
c97b1448ed Tweaked the specs a bit and added spec for basic_auth setting 2008-07-28 10:55:35 -04:00
John Nunemaker
1d48da0313 Renamed to HTTParty which is way more fun and unique than boring old web. 2008-07-28 10:49:53 -04:00
Renamed from spec/web_spec.rb (Browse further)