_content
authorKenneth Reitz <me@kennethreitz.com>
Sun, 21 Aug 2011 11:12:54 +0000 (07:12 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sun, 21 Aug 2011 11:12:54 +0000 (07:12 -0400)
requests/models.py

index 262a564..5983c23 100644 (file)
@@ -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