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:
a86af44
)
_content
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 21 Aug 2011 11:12:54 +0000
(07:12 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 21 Aug 2011 11:12:54 +0000
(07:12 -0400)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
262a564
..
5983c23
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-393,8
+393,8
@@
class Response(object):
"""
def __init__(self):
- #: Content of the response, in bytes or unicode (if available).
- self.content = None
+
+ self.
_
content = None
#: Integer Code of responded HTTP Status.
self.status_code = None
@@
-441,7
+441,8
@@
class Response(object):
@property
def content(self):
"""Content of the response, in bytes or unicode
- (if available)."""
+ (if available).
+ """
if self._content is not None:
return self._content