summaryrefslogtreecommitdiff
path: root/tests/sample_data/vcr_vcrpy.yaml
blob: bcf8836f8c40ad3506694b1e94df7b8d7a3b70c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.26.0
    method: GET
    uri: https://httpbin.org/get
  response:
    body:
      string: "{\n  \"args\": {}, \n  \"headers\": {\n    \"Accept\": \"*/*\", \n
        \   \"Accept-Encoding\": \"gzip, deflate\", \n    \"Host\": \"httpbin.org\",
        \n    \"User-Agent\": \"python-requests/2.26.0\", \n    \"X-Amzn-Trace-Id\":
        \"Root=1-61269390-110f184a5a3b52ef31278574\"\n  }, \n  \"origin\": \"173.21.126.145\",
        \n  \"url\": \"https://httpbin.org/get\"\n}\n"
    headers:
      Access-Control-Allow-Credentials:
      - 'true'
      Access-Control-Allow-Origin:
      - '*'
      Connection:
      - keep-alive
      Content-Length:
      - '308'
      Content-Type:
      - application/json
      Date:
      - Wed, 25 Aug 2021 19:01:36 GMT
      Server:
      - gunicorn/19.9.0
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.26.0
    method: GET
    uri: https://httpbin.org/ip
  response:
    body:
      string: "{\n  \"origin\": \"173.21.126.145\"\n}\n"
    headers:
      Access-Control-Allow-Credentials:
      - 'true'
      Access-Control-Allow-Origin:
      - '*'
      Connection:
      - keep-alive
      Content-Length:
      - '33'
      Content-Type:
      - application/json
      Date:
      - Wed, 25 Aug 2021 19:09:56 GMT
      Server:
      - gunicorn/19.9.0
      Foo:
      - bar
    status:
      code: 200
      message: OK
version: 1