File: test_http

package info (click to toggle)
python-azure 20230112%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 749,544 kB
  • sloc: python: 6,815,827; javascript: 287; makefile: 195; xml: 109; sh: 105
file content (22 lines) | stat: -rw-r--r-- 1,030 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
interactions:
- request:
    body: null
    headers: {}
    method: GET
    uri: https://httpbin.org/get?ham=spam
  response:
    body: {string: "{\n  \"args\": {\n    \"ham\": \"spam\"\n  }, \n  \"headers\"\
        : {\n    \"Accept\": \"*/*\", \n    \"Accept-Encoding\": \"gzip, deflate\"\
        , \n    \"Connection\": \"close\", \n    \"Host\": \"httpbin.org\", \n   \
        \ \"User-Agent\": \"Python/3.5 aiohttp/2.0.1\"\n  }, \n  \"origin\": \"213.86.221.35\"\
        , \n  \"url\": \"https://httpbin.org/get?ham=spam\"\n}\n"}
    headers: {Access-Control-Allow-Credentials: 'true', Access-Control-Allow-Origin: '*',
      Connection: keep-alive, Content-Length: '299', Content-Type: application/json,
      Date: 'Wed, 22 Mar 2017 20:08:29 GMT', Server: gunicorn/19.7.1, Via: 1.1 vegur}
    status: {code: 200, message: OK}
    url: !!python/object/new:yarl.URL
      state: !!python/tuple
      - !!python/object/new:urllib.parse.SplitResult [https, httpbin.org, /get, ham=spam,
        '']
      - false
version: 1