Documentation fixes
authorKenneth Reitz <me@kennethreitz.com>
Sun, 14 Aug 2011 15:43:25 +0000 (11:43 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sun, 14 Aug 2011 15:43:25 +0000 (11:43 -0400)
requests/models.py

index 942bd9b244d419cceac59368097931fb0b5a6bd2..ea4d685d0a70d8b23bc6660c8f08df062f60398b 100644 (file)
@@ -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