1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-10 01:25:34 +00:00

Extract cookies to client on every response

This is required because previous extraction code is now patched out by vcpy.

Also handle headers with same key in responses.
This commit is contained in:
Martynas Mickevičius
2020-05-05 17:04:50 +03:00
committed by Kevin McCarthy
parent 023e41bb4c
commit 7d2d29de12
3 changed files with 81 additions and 14 deletions

View File

@@ -20,14 +20,22 @@ interactions:
: \"python-httpx/0.12.1\", \n \"X-Amzn-Trace-Id\": \"Root=1-5ea778c9-ea76170da792abdbf7614067\"\
\n }\n}\n"
headers:
access-control-allow-credentials: 'true'
access-control-allow-origin: '*'
connection: keep-alive
content-length: '226'
content-type: application/json
date: Tue, 28 Apr 2020 00:28:57 GMT
server: gunicorn/19.9.0
via: my_own_proxy
access-control-allow-credentials:
- 'true'
access-control-allow-origin:
- '*'
connection:
- keep-alive
content-length:
- '226'
content-type:
- application/json
date:
- Tue, 28 Apr 2020 00:28:57 GMT
server:
- gunicorn/19.9.0
via:
- my_own_proxy
http_version: HTTP/1.1
status_code: 200
version: 1