mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 09:35:34 +00:00
update fixture to add proto
This commit is contained in:
12
tests/fixtures/wild/domain_redirect.yaml
vendored
12
tests/fixtures/wild/domain_redirect.yaml
vendored
@@ -8,6 +8,7 @@
|
|||||||
method: GET
|
method: GET
|
||||||
path: /
|
path: /
|
||||||
port: 80
|
port: 80
|
||||||
|
protocol: http
|
||||||
response:
|
response:
|
||||||
body:
|
body:
|
||||||
string: !!binary |
|
string: !!binary |
|
||||||
@@ -104,11 +105,11 @@
|
|||||||
lh+1BgT4zWxAwHbpFns3Q+ARYKB2oNlA0iK/fblLKj9F2+3VYrD2AM1AaURhhwUgxV1b4KHf7lfi
|
lh+1BgT4zWxAwHbpFns3Q+ARYKB2oNlA0iK/fblLKj9F2+3VYrD2AM1AaURhhwUgxV1b4KHf7lfi
|
||||||
eG2v2lMJ4ArqfyC94cehOJSFuRNAWtVxe/sWkKH1Btyi2YyLKPqAaINPpT25O0Jb8Hw0oAk6jsMg
|
eG2v2lMJ4ArqfyC94cehOJSFuRNAWtVxe/sWkKH1Btyi2YyLKPqAaINPpT25O0Jb8Hw0oAk6jsMg
|
||||||
jLxt6FMxFvrb9dY/+qN+3H70558CvtuPRM8Gv//4Bw4TxmFviN/KEXfDxX9qsfV/BBAejOZCAAA=
|
jLxt6FMxFvrb9dY/+qN+3H70558CvtuPRM8Gv//4Bw4TxmFviN/KEXfDxX9qsfV/BBAejOZCAAA=
|
||||||
headers: {accept-ranges: bytes, age: '2019', cache-control: 'no-cache, must-revalidate,
|
headers: {accept-ranges: bytes, age: '3593', cache-control: 'no-cache, must-revalidate,
|
||||||
s-maxage=3600', connection: keep-alive, content-encoding: gzip, content-length: '5300',
|
s-maxage=3600', connection: keep-alive, content-encoding: gzip, content-length: '5300',
|
||||||
content-type: text/html, date: 'Sat, 10 Aug 2013 23:07:21 GMT', expires: 'Fri,
|
content-type: text/html, date: 'Sat, 10 Aug 2013 23:33:35 GMT', expires: 'Fri,
|
||||||
15 Oct 2004 12:00:00 GMT', server: nginx, server-name: dalmozwww02.dal.moz.com,
|
15 Oct 2004 12:00:00 GMT', server: nginx, server-name: dalmozwww02.dal.moz.com,
|
||||||
vary: Accept-Encoding, via: 1.1 varnish, x-varnish: 2027532407 2027508286}
|
vary: Accept-Encoding, via: 1.1 varnish, x-varnish: 2027569899 2027508286}
|
||||||
status: {code: 200, message: OK}
|
status: {code: 200, message: OK}
|
||||||
- request: !!python/object:vcr.request.Request
|
- request: !!python/object:vcr.request.Request
|
||||||
body: null
|
body: null
|
||||||
@@ -120,10 +121,11 @@
|
|||||||
method: GET
|
method: GET
|
||||||
path: /
|
path: /
|
||||||
port: 80
|
port: 80
|
||||||
|
protocol: http
|
||||||
response:
|
response:
|
||||||
body: {string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
body: {string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
||||||
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"}
|
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"}
|
||||||
headers: {accept-ranges: bytes, age: '0', connection: keep-alive, content-length: '178',
|
headers: {accept-ranges: bytes, age: '0', connection: keep-alive, content-length: '178',
|
||||||
content-type: text/html, date: 'Sat, 10 Aug 2013 23:07:20 GMT', location: 'http://moz.com/',
|
content-type: text/html, date: 'Sat, 10 Aug 2013 23:33:35 GMT', location: 'http://moz.com/',
|
||||||
server: nginx, server-name: dalmozwww03.dal.moz.com, via: 1.1 varnish, x-varnish: '2027532404'}
|
server: nginx, server-name: dalmozwww01.dal.moz.com, via: 1.1 varnish, x-varnish: '2027569892'}
|
||||||
status: {code: 301, message: Moved Permanently}
|
status: {code: 301, message: Moved Permanently}
|
||||||
|
|||||||
Reference in New Issue
Block a user