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

25 commits

Author SHA1 Message Date
Alex Vollmer
ae7ce30977 Add the ability to automatically follow redirects and to turn it off. 2008-10-25 00:34:33 -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
76601ba0c7 Changed format detection from crappy file extension to awesome response content type. [#2 state:resolved] 2008-08-22 21:50:51 -04:00
Franck ROUDET
b0f1cc2a8d Raises exception when http error occurs. Added http_proxy key for setting proxy server and port. [#3 state:resolved] [#7 state:resolved] 2008-08-22 16:32:42 -04:00
John Nunemaker
427958ade7 Updated for new release. Added rake task to help with prepping for release. 2008-08-09 15:20:32 -04:00
John Nunemaker
a3f744b2bb Fixed that default_params weren't being added to query string if options[:query] was blank. [#6 state:resolved] 2008-08-09 13:17:36 -04:00
John Nunemaker
b3094fc1bb nodoc'd some stuff 2008-07-31 00:30:52 -04:00
John Nunemaker
72f09186e8 Updated history, version and gemspec. 2008-07-31 00:24:29 -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
d43806a71d updated version to 0.1 2008-07-28 15:10:07 -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
88501f20f6 Removed leftover block parameter from http as it is not needed anymore. 2008-07-28 10:56:19 -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
John Nunemaker
a8e1e6acbd tweaked the way base uri works and set https to not verify so we don't get warnings 2008-07-27 19:13:25 -04:00
John Nunemaker
473325dfd4 added a bit to hash conversion so that id does not throw deprecation warnings 2008-07-27 18:15:33 -04:00
John Nunemaker
13620e3046 Added Hash#to_struct for making a nicer api once results are returned. Removed entities as it was overkill. Instead just using active supports deserialization of xml and json. 2008-07-27 18:05:31 -04:00
John Nunemaker
de9b4fb6ba Put in first wave of parsing. Supports json and xml. 2008-07-27 16:35:31 -04:00
John Nunemaker
8e1437850a get, post, put and delete now work with basic auth; added example for twitter 2008-07-27 14:44:18 -04:00
John Nunemaker
be2ce8be39 Added callbacks 2008-07-27 11:52:39 -04:00
John Nunemaker
df29a55264 Initial commit 2008-07-27 11:52:18 -04:00