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 |
|
John Nunemaker
|
3101b5318b
|
Got redirection all work properly and added example that checks it out.
|
2008-11-08 11:01:44 -05:00 |
|
John Nunemaker
|
fda012a334
|
Removed stupid core extension. It was stupid trust me.
|
2008-11-08 10:41:32 -05:00 |
|
Alex Vollmer
|
a279df8f70
|
Be a little smarter with the paths that are passed in.
This is especially important for the redirect-handling in which we
may be pointed to a whole 'nother scheme/host that does not
match our base URI.
|
2008-10-25 00:34:44 -04:00 |
|
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
|
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
|
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
|
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 |
|