1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 17:15:35 +00:00

Added migration script for old cassettes

This commit is contained in:
Max Shytikov
2014-04-22 01:00:02 +02:00
parent 5354ef781c
commit ee28768a31
7 changed files with 239 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
- request: !!python/object:vcr.request.Request
body: null
headers: !!python/object/apply:__builtin__.frozenset
- - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
- !!python/tuple [User-Agent, python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0]
- !!python/tuple [Accept, '*/*']
method: GET
uri: http://httpbin.org:80/ip
response:
body: {string: !!python/unicode "{\n \"origin\": \"217.122.164.194\"\n}"}
headers: [!!python/unicode "Access-Control-Allow-Origin: *\r\n", !!python/unicode "Content-Type:
application/json\r\n", !!python/unicode "Date: Mon, 21 Apr 2014 23:06:09 GMT\r\n",
!!python/unicode "Server: gunicorn/0.17.4\r\n", !!python/unicode "Content-Length:
32\r\n", !!python/unicode "Connection: keep-alive\r\n"]
status: {code: 200, message: OK}