Merge pull request #9 from TimSimpsonR/qe_merge

Saving the last response.
This commit is contained in:
Tim Simpson
2012-05-21 15:33:57 -07:00

View File

@@ -133,6 +133,9 @@ class ReddwarfHTTPClient(HTTPClient):
resp, body = super(HTTPClient, self).request(*args, **kwargs)
# Save this in case anyone wants it.
self.last_response = (resp, body)
self.http_log(args, kwargs, resp, body)
if body: