Skip to content

Commit

Permalink
Ensure a reason exists on urllib3 responses
Browse files Browse the repository at this point in the history
Closes #83
  • Loading branch information
sigmavirus24 committed Apr 14, 2016
1 parent 42c5e8f commit 72a8839
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions betamax/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def add_urllib3_response(serialized, response, headers):
h = HTTPResponse(
body,
status=response.status_code,
reason=response.reason,
headers=headers,
preload_content=False,
original_response=MockHTTPResponse(headers)
Expand Down

0 comments on commit 72a8839

Please sign in to comment.