1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00
Commit graph

26 commits

Author SHA1 Message Date
Julien Kirch
6df3b5d7b9 Specify accept and content-type as extension + we now log the real headers 2009-12-29 20:30:38 +01:00
Julien Kirch
026f2ea360 Tabs to space 2009-12-29 18:27:39 +01:00
Julien Kirch
6d463a297b formatting 2009-12-26 13:27:35 +01:00
El Draper
e4d01c7688 a test and fix for 204 No Content responses, to ensure that the response object (and all important headers) are still returned 2009-12-26 13:23:37 +01:00
François Beausoleil
b9d76c7fc6 Correctly send the payload's headers to the Net::HTTP::Request subclass. 2009-08-12 14:06:50 -04:00
François Beausoleil
8e59ea280f We'll get a Payload instance now, not the plain String 2009-08-12 13:10:20 -04:00
Adam Wiggins
b2dda517e4 accept */* but prefer xml for backward compatibility 2009-07-22 15:15:26 -07:00
Pedro Belo
cb0dd1fd3b decode response body for exceptions too (401, 404, etc) 2009-06-29 16:22:54 -07:00
Adam Wiggins
2cab7a173a whitespace 2009-06-22 20:58:30 -07:00
Brad Ediger
2db1f0bc33 30x redirects should use GET, not the original HTTP verb 2009-06-22 20:56:13 -07:00
Paul Dlug
5f03b02fed Handle nil response body in response_log 2009-05-30 11:14:50 -04:00
James Edward Gray II
97698bcd63 Making it possible to actually set OpenSSL's verify_mode using OpenSSL constants. This makes the example in the README function and makes it possible to set more complex schemes like :verify_mode => OpenSSL::SSL::VERIFY_PEER | OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT. 2009-05-28 19:00:57 -07:00
Cyril Rohr
3fb5c51d1e Can now pass a CA_FILE for SSL peer verification. Fixed README part related to SSL Client Certificates. 2009-03-30 14:03:40 +02:00
Adam Wiggins
075c6746f2 whitespace fixes 2009-03-20 19:19:21 -07:00
Adam Jacob
c72955b142 Added SSL client certificate support 2009-03-16 14:26:15 -07:00
Adam Jacob
7be2beab34 Adding a switch to control ssl verification 2009-03-16 14:09:34 -07:00
Adam Wiggins
109ad553dc RestClient.head 2009-02-10 13:55:54 -08:00
Adam Wiggins
4bd48d5005 Merge commit 'jeg2/master' 2009-02-07 14:51:53 -08:00
Adam Wiggins
56c8afa3f3 merge cookies and open_timeout attrs 2009-02-07 14:22:20 -08:00
James Edward Gray II
040544e952 Resolving an issue where a Content-Encoding header mixed with an empty body would raise an exception as Zlib choked on the data. 2009-02-06 11:34:03 -06:00
James Edward Gray II
35e6713282 Addressing an issue that causes some successful responses to raise RequestFailed. 2009-02-06 11:13:25 -06:00
Lennon Day-Reynolds
be6ca03030 fix formatting/typos in specs 2009-02-05 16:02:17 -08:00
Lennon Day-Reynolds
32c6451518 added basic cookies support to Request and Response classes 2009-02-05 16:00:11 -08:00
Dusty Doris
9cfa20255b moved the spec on timeout to @net from @http 2009-01-31 14:49:39 -05:00
Dusty Doris
2e8060c2be Added an option for open_timeout. This could be useful if you are not receive a response. An example would be a firewall that simply drops the packet 2009-01-31 14:25:05 -05:00
Adam Wiggins
be75302792 organize specs to match lib 2009-01-24 14:55:18 -08:00