Skip to content

Commit

Permalink
Merge pull request #14 from onna/fill-reason-field
Browse files Browse the repository at this point in the history
Fill the reason
  • Loading branch information
dmanchon authored Jul 11, 2018
2 parents 670dabd + d1156cd commit 6b2a0bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

1.1.8
-----

- Fill the reason field in the response

1.1.7
-----

Expand Down
1 change: 1 addition & 0 deletions cassettedeck/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def build_response(self, method, url, params, data, headers):

# Replicate status code and reason
resp.status = resp_json['status']['code']
resp.reason = resp_json['status']['message']

# Set default plain/text if no Content-Type
try:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='cassettedeck',
version='1.1.7',
version='1.1.8',
description='A library store and replay aiohttp requests',
long_description='To simplify and speed up tests that make HTTP requests',
author='Developer team at Onna Technologies',
Expand Down

0 comments on commit 6b2a0bf

Please sign in to comment.