16 Commits

Author SHA1 Message Date
rick
ed64a91de4 test patron and net/http timeouts 2011-12-28 14:37:38 -07:00
rick
49e47274d5 fix an excon and rack error (headers should be strings, excon likes IPs) 2011-12-28 14:05:23 -07:00
Mislav Marohnić
2343a4e98f support PATCH and OPTIONS methods
Added a `patch` helper method, but OPTIONS requests need to be done manually.
2011-05-09 01:07:32 -07:00
Mislav Marohnić
f739002d0b more love for response headers; handle ones with multiple values
Also:
  - ensure that env[:response_headers] is not available during request phase
  - fix headers from "Test" adapter

Closes #43
2011-03-27 21:57:14 +02:00
Mislav Marohnić
d5b6b9ce5b make POST/PUT requests with no body set "Content-Length: 0" 2011-03-26 21:21:21 +01:00
Mislav Marohnić
d6d86dd043 extract multipart stuff from Adapter to Request::Multipart middleware 2011-03-26 21:20:21 +01:00
Erik Michaels-Ober
241d2ed9ea Add sinatra as development dependency 2010-10-08 13:31:40 -07:00
rick
c4fbe32533 live multipart tests 2010-09-07 15:35:02 -07:00
rick
67d619d780 rename Alice => Faraday. 2010-01-12 17:03:34 -08:00
Zack Hobson
5075a3e3e3 Merged from rick. 2010-01-05 11:23:10 -08:00
Zack Hobson
b7388e88d5 Fixes and tests for params on GET and DELETE. 2009-12-22 16:55:22 -08:00
Zack Hobson
998850e411 Support for PUT and DELETE. 2009-12-22 16:39:56 -08:00
Zack Hobson
6449b66318 Added support for HTTP POST requests. 2009-12-22 16:11:58 -08:00
rick
43a26e59c0 test that Faraday::Connection instances pass the params and headers 2009-12-22 13:16:22 -08:00
rick
899837f181 add YajlResponse 2009-12-10 07:54:50 -08:00
rick
a7416caeeb add basic NetHttp adapter with GET support. supply sinatra server for testing 2009-12-10 06:21:41 -08:00