mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
fix weird bug that cropped up every now and then
This commit is contained in:
@@ -51,7 +51,7 @@ class VCRHTTPConnection(HTTPConnection):
|
|||||||
'body': {'string': response.read()},
|
'body': {'string': response.read()},
|
||||||
})
|
})
|
||||||
self._save_cassette()
|
self._save_cassette()
|
||||||
return response
|
return VCRHTTPResponse(self._cassette[0]['response'])
|
||||||
|
|
||||||
|
|
||||||
class VCRHTTPSConnection(VCRHTTPConnection):
|
class VCRHTTPSConnection(VCRHTTPConnection):
|
||||||
|
|||||||
Reference in New Issue
Block a user