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

40 commits

Author SHA1 Message Date
Adam Wiggins
7c7e62515c support authentication in the URI, i.e. http://user:pass@example.com/resource 2008-06-20 19:44:36 -07:00
Adam Wiggins
7511d49770 show http status code in default RequestFailed message 2008-06-20 19:23:48 -07:00
Adam Wiggins
40426e5afb credits for ardekantur and pedro 2008-06-20 19:12:08 -07:00
Adam Wiggins
e8d0d84bd9 rdocs for RequestFailed 2008-06-20 19:09:57 -07:00
Adam Wiggins
6315a184f5 formating/whitespace fix 2008-06-20 19:05:41 -07:00
Adam Wiggins
3f5a234d27 Merge commit 'pedro/master' 2008-06-20 19:04:23 -07:00
Pedro Belo
51e8b6f417 use SSL authentication for https requests (based on patch from ardekantur) 2008-06-20 18:56:00 -07:00
Pedro Belo
b90383bd02 add color and format progress in the rake spec task 2008-06-20 18:55:05 -07:00
Pedro Belo
12a24586dd fix spec description 2008-06-20 18:54:42 -07:00
Pedro Belo
b8e4b83a1a fixed payload escaping, using a more complete set of unsafe chars 2008-06-20 11:08:38 -07:00
Pedro Belo
20e920e4f6 add backwards compatibility with RestClient::Resource exceptions 2008-06-12 11:21:39 -07:00
Pedro Belo
88660a038b support default error messages in RequestFailed to avoid checking if message == "Unknown ..." 2008-06-11 15:08:31 -07:00
Pedro Belo
39f3513dae enhance error rescuing in the RequestFailed class; parsing error messages when there's a xml in the response body 2008-06-11 12:31:39 -07:00
Pedro Belo
c515bd8051 use SSL authentication for https requests (based on patch from ardekantur) 2008-06-11 12:26:14 -07:00
Pedro Belo
10b4cc95dd add color and format progress in the rake spec task 2008-06-11 12:22:25 -07:00
Pedro Belo
f7471f3582 fix spec description 2008-06-11 12:21:47 -07:00
Adam Wiggins
8103df07d6 subclass exceptions from RuntimeError 2008-05-01 00:50:14 -07:00
Adam Wiggins
153e5df486 credits update 2008-04-05 13:00:55 -07:00
Adam Wiggins
38a23cb26e touchups on Greg's cgi params hash patch 2008-04-04 19:06:16 -07:00
Greg Borenstein
8bbe5b26f4 patched RequestClient.post to treat a payload in the form of a hash as a batch of form-encoded data, including adding the relevant header 2008-03-27 15:54:03 -07:00
Adam Wiggins
7e162d784b gem version 0.3 2008-03-20 18:35:11 -07:00
Adam Wiggins
02968d3996 Chris Anderson's fix to use full request uri 2008-03-20 18:29:39 -07:00
Adam Wiggins
d484781d75 spec for no user/password on resource init 2008-03-10 18:30:14 -07:00
Adam Wiggins
d66eaab936 RestClient::Resource 2008-03-10 17:20:57 -07:00
Adam Wiggins
15c4bab527 credentials sent via http basic auth 2008-03-10 16:52:59 -07:00
Adam Wiggins
a9f62bf573 refactor calls to Request object to use options hash, to prepare for user authentication and resource objects 2008-03-10 16:43:43 -07:00
Adam Wiggins
4e228cefdb new homepage 2008-03-09 13:45:58 -07:00
Adam Wiggins
329c822983 include link to github 2008-03-09 13:43:48 -07:00
Adam Wiggins
c1b242d3be link homepage 2008-03-09 13:42:44 -07:00
Adam Wiggins
15f58e67dd rdocs 2008-03-09 13:31:52 -07:00
Adam Wiggins
06a1afc1e7 README and some rdoc comments 2008-03-09 13:25:18 -07:00
Adam Wiggins
1317e9ce1f remove rexml dependency 2008-03-09 13:15:52 -07:00
Adam Wiggins
d21ba668d9 refactor, creating RestClient::Request for internal use 2008-03-08 17:25:31 -08:00
Adam Wiggins
879fc050b2 all methods take a headers hash, with conversion from symbol format 2008-03-08 16:50:16 -08:00
Adam Wiggins
0de989296a handle http redirects 2008-03-08 16:32:15 -08:00
Adam Wiggins
77848df0d8 don't send nil payloads 2008-03-08 14:42:31 -08:00
Adam Wiggins
993efe4c3e do_request to DRY up the method requests 2008-03-08 14:34:31 -08:00
Adam Wiggins
ba86257a41 gemspec 2008-03-07 22:18:28 -08:00
Adam Wiggins
1ac5a244dc Rest -> RestClient 2008-03-07 22:14:33 -08:00
Adam Wiggins
71b61e8597 init 2008-03-07 17:07:17 -08:00