projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
933cbd7
)
Documentation fixes
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 14 Aug 2011 15:43:25 +0000
(11:43 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 14 Aug 2011 15:43:25 +0000
(11:43 -0400)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index 942bd9b244d419cceac59368097931fb0b5a6bd2..ea4d685d0a70d8b23bc6660c8f08df062f60398b 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-341,6
+341,7
@@
class Response(object):
#: Raw content of the response, in bytes.
#: If ``content-encoding`` of response was set to ``gzip``, the
#: response data will be automatically deflated.
+ self.content = None
self._content = None
#: Integer Code of responded HTTP Status.
self.status_code = None
@@
-358,7
+359,7
@@
class Response(object):
#: the history of the Request. Any redirect responses will end
#: up here.
self.history = []
-
+ #: The Request that created the Response.
self.request = None