Permalink
Browse files

Fix #1079

  • Loading branch information...
1 parent 5d87e1a commit 5264c71d86c078f60b9880cc0f481c7fea2b41db @sigmavirus24 sigmavirus24 committed Jan 2, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 requests/adapters.py
View
@@ -94,6 +94,7 @@ def build_response(self, req, resp):
# Set encoding.
response.encoding = get_encoding_from_headers(response.headers)
response.raw = resp
+ response.reason = response.raw.reason
if isinstance(req.url, bytes):
response.url = req.url.decode('utf-8')

0 comments on commit 5264c71

Please sign in to comment.