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
|
7834cb9ca2
|
shortened directory to dir. why not...
|
2008-12-05 17:17:31 -05:00 |
|
John Nunemaker
|
e4048206a6
|
Merge branch 'master' of git://github.com/jqr/httparty into jqr/master
|
2008-12-05 16:35:08 -05:00 |
|
Elijah Miller
|
1adf103beb
|
Stupid simple support for HTTParty.get/post/put/delete.
|
2008-12-05 16:13:11 -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 |
|
John Nunemaker
|
e0cb4311d9
|
Added explicit html format option.
|
2008-11-11 19:29:23 -05:00 |
|
John Nunemaker
|
99a07b58c2
|
Removed some crappy documentation.
|
2008-11-11 19:28:04 -05:00 |
|
John Nunemaker
|
b6340ed9d8
|
First pass of refactoring the actual performing of the request into smaller methods.
|
2008-11-11 19:26:01 -05:00 |
|
John Nunemaker
|
67cb57256f
|
Switched from send to perform which sounds fancier.
|
2008-11-11 19:07:11 -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 |
|
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 |
|