requests-mock/requests_mock
Jamie Lennox fe147914a6 Return b'' when reading closed response.
A HTTPResponse returns a b'' when you read from a closed socket. BytesIO
raises a ValueError. This only comes to light when you are specifically
reading past the end of the stream in a chunking scenario like
swiftclient does.

Change-Id: I67ed45252deac9472cfb011a5eb89130a3791d6b
Closes-Bug: #1616690
2016-08-25 10:34:49 +10:00
..
2015-11-18 12:00:09 +11:00
2015-11-18 12:00:06 +11:00
2014-12-22 08:37:55 +01:00