mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
Fix VCRHTTPResponse for requests.cookies.extract_cookies_to_jar
This commit is contained in:
committed by
Kevin McCarthy
parent
88c0039089
commit
89f2005250
@@ -68,6 +68,7 @@ class VCRHTTPResponse(HTTPResponse):
|
||||
self.version = None
|
||||
self._content = BytesIO(self.recorded_response["body"]["string"])
|
||||
self._closed = False
|
||||
self._original_response = self # for requests.session.Session cookie extraction
|
||||
|
||||
headers = self.recorded_response["headers"]
|
||||
# Since we are loading a response that has already been serialized, our
|
||||
|
||||
Reference in New Issue
Block a user