Merge pull request #389 from JackDandy/feature/UpdateRequests

Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457).
This commit is contained in:
JackDandy 2015-06-06 05:56:42 +01:00
commit 3b1be80d78
2 changed files with 7 additions and 1 deletions

View file

@ -4,7 +4,7 @@
* Update Tornado webserver to 4.2b1 (61a16c9)
* Update change to suppress reporting of Tornado exception error 1 to updated package (ref:hacks.txt)
* Update fix for API response header for JSON content type and the return of JSONP data to updated package (ref:hacks.txt)
* Update Requests library 2.6.2 to 2.7.0 (ab1f493)
* Update Requests library 2.6.2 to 2.7.0 (8b5e457)
* Update change to suppress HTTPS verification InsecureRequestWarning to updated package (ref:hacks.txt)
* Change to consolidate cache database migration code
* Change to only rebuild namecache on show update instead of on every search
@ -19,6 +19,9 @@
* Change handling of general HTTP error response codes to prevent issues
* Add handling for CloudFlare custom HTTP response codes
[develop changelog]
* Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457)
### 0.9.1 (2015-05-25 03:03:00 UTC)

View file

@ -842,4 +842,7 @@ class Response(object):
*Note: Should not normally need to be called explicitly.*
"""
if not self._content_consumed:
return self.raw.close()
return self.raw.release_conn()