Julien Kirch
|
fe3e1197f8
|
putting the exception class in the to_s is redundant
|
2010-07-02 18:33:16 +02:00 |
|
Julien Kirch
|
6f359db667
|
Exception#http_body works even when no response. Fixes #33
|
2010-06-26 11:02:23 +02:00 |
|
Julien Kirch
|
41cb5c9424
|
now really al the statuses codes
|
2010-05-31 19:45:35 +02:00 |
|
JH. Chabran
|
49bd676b97
|
add missing HTTP statuses
|
2010-05-31 19:28:49 +02:00 |
|
Julien Kirch
|
d970eb85d7
|
added 307
|
2010-05-25 18:57:30 +02:00 |
|
Julien Kirch
|
0b4da8c71b
|
added 207 Multi-Status to the list of legit codes
|
2010-05-25 18:49:09 +02:00 |
|
Braintree
|
9c81ee50a5
|
Fixed ssl verification to raise an exception when the ca certificate is incorrect.
|
2010-05-13 19:59:01 +02:00 |
|
Caleb Land
|
22ee648a98
|
don't extend nil when a response isn't provided
the Exception class shouldn't add a method_missing
to nil, since it can cause a stack overflow when
an undefined method is called on nil
|
2010-03-09 21:46:49 +01:00 |
|
Julien Kirch
|
196c9720ff
|
Merge branch '1.3.0'
Conflicts:
history.md
lib/restclient/exceptions.rb
|
2010-02-10 19:06:59 +01:00 |
|
Julien Kirch
|
ccb591958c
|
Added compatibility: the response should mimic a net::response when in an exception
|
2010-02-06 22:32:52 +01:00 |
|
Julien Kirch
|
3b8586f6c9
|
Response.inspect use the same format as the logging
|
2010-01-26 19:41:53 +01:00 |
|
Julien Kirch
|
7563fd5a88
|
Cleaner structure: Response is no more a String, and the mixin is replaced by an abstract_response
|
2010-01-25 22:15:18 +01:00 |
|
Julien Kirch
|
58ed49a2b5
|
Better compatibility
|
2010-01-25 20:10:13 +01:00 |
|
Julien Kirch
|
1c0e2ec75e
|
Compatibility
|
2010-01-25 19:36:20 +01:00 |
|
Julien Kirch
|
68ff7f840f
|
Block for response done, easier than expected!
|
2010-01-22 21:04:49 +01:00 |
|
Julien Kirch
|
9e23b96359
|
slightly cleaner code
|
2010-01-21 18:48:10 +01:00 |
|
Julien Kirch
|
26aa3ce8d0
|
Fixed tests
|
2010-01-20 19:57:38 +01:00 |
|
Julien Kirch
|
db3d8adad8
|
better formatting
|
2010-01-20 18:38:20 +01:00 |
|
Julien Kirch
|
a38c21d8b8
|
useless line
|
2010-01-18 22:47:16 +01:00 |
|
Julien Kirch
|
3b83aadc35
|
Giving a first try
|
2010-01-18 22:15:15 +01:00 |
|
Julien Kirch
|
026f2ea360
|
Tabs to space
|
2009-12-29 18:27:39 +01:00 |
|
Pedro Belo
|
cb0dd1fd3b
|
decode response body for exceptions too (401, 404, etc)
|
2009-06-29 16:22:54 -07:00 |
|
Cyril Rohr
|
785ca179da
|
NotModified Exception should contain the response so that clients can have access to the response HTTP headers
|
2009-02-10 14:00:46 -08:00 |
|
Adam Wiggins
|
74cd64d7a7
|
rdocs for the reorganized classes
|
2009-01-24 17:12:38 -08:00 |
|
Adam Wiggins
|
edeafb34dc
|
restclient instead of rest_client; reorganize lib dir
|
2009-01-24 14:49:01 -08:00 |
|