Merge branch 'develop' of https://github.com/janrito/requests into develop

This commit is contained in:
Kenneth Reitz
2011-08-20 19:23:53 -04:00
+1
View File
@@ -176,6 +176,7 @@ class Request(object):
try:
response.headers = CaseInsensitiveDict(getattr(resp.info(), 'dict', None))
response.read = resp.read
response.readline = resp.readline
response._resp = resp
response._close = resp.close