Merge pull request #9 from TimSimpsonR/qe_merge
Saving the last response.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user