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

Exception#http_body works even when no response. Fixes #33

This commit is contained in:
Julien Kirch 2010-06-26 11:02:23 +02:00
parent df78724fc0
commit 6f359db667
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@
- multipart parameters names should not be escaped
- remove the cookie escaping introduced by migrating to CGI cookie parsing in 1.5.1
- add a streamed payload type (patch provided by Caleb Land)
- Exception#http_body works even when no response
# 1.5.1

View file

@ -95,7 +95,7 @@ module RestClient
end
def http_body
@response.body
@response.body if @response
end
def inspect