added Request.read

This commit is contained in:
Kenneth Reitz
2011-03-31 04:46:19 -04:00
parent 2401f14975
commit e350bea167
+2 -1
View File
@@ -160,7 +160,6 @@ class Request(object):
else:
return url
def send(self, anyway=False):
"""Sends the request. Returns True of successful, false if not.
If there was an HTTPError during transmission,
@@ -217,6 +216,8 @@ class Request(object):
return self.sent
def read(self):
return self.content
class Response(object):
"""The :class:`Request` object. All :class:`Request` objects contain a