diff options
| author | Jordan Cook <jordan.cook@pioneer.com> | 2021-08-26 14:48:33 -0500 |
|---|---|---|
| committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-08-26 17:04:15 -0500 |
| commit | e203a48cdf58eda51f85b27d3eaf852bd9da941c (patch) | |
| tree | a384f2ab226fecc66b81bf288d51f2acb0b3b960 /docs/sample_data | |
| parent | 31a760cfb998d31cdeb8f79e65e1f1765cb2e3c9 (diff) | |
| download | requests-cache-e203a48cdf58eda51f85b27d3eaf852bd9da941c.tar.gz | |
Reorganize user docs: break down User Guide and Advanced Usage sections into smaller pages
Diffstat (limited to 'docs/sample_data')
| -rw-r--r-- | docs/sample_data/sample_response.json | 36 | ||||
| -rw-r--r-- | docs/sample_data/sample_response.yaml | 37 |
2 files changed, 73 insertions, 0 deletions
diff --git a/docs/sample_data/sample_response.json b/docs/sample_data/sample_response.json new file mode 100644 index 0000000..4b60354 --- /dev/null +++ b/docs/sample_data/sample_response.json @@ -0,0 +1,36 @@ +{ + "url": "https://httpbin.org/get", + "status_code": 200, + "reason": "OK", + "_content": "dkP>RB4Ki8b0Rt*dwnb*3LqdNXk}q!WpZ;OIv{%rARr(hB0*zgWpH#NIv^q{FDfD|APOKLARr<^V`F7-bS*`0V{c?>Zf7DoAR=daX>cqcWMyV-VRU68EFcOXARr(jNN;m=B03-<XmoUNVrgzJZ*pfMEFcOXARr(jRdZ!>EkS2xZge6#AR=&ibZBpGEplaXb!BsOb1yP3GBz$SA}k;ZARr(hB3La!ZF+7kRB~ZsWi3f$B03-<Qg3f`JuxjdFlIPmF)(2*GB7hXGcjZ_Gh<>hGc{o{G%#g2VK_22A_^cNeJmgfARr=da%pF2ZX!A$A~82JE-^VSF*GqQGBq+HEFcOXAR={gY$7@!B4~7UaC15@FKBdhaAIk0E^l&YFK1<RA_{#9", + "cache_key": "4dc151d95200ec91fa77021989f5194e9be47e87f8f228306f3a8d5434b9e547", + "created_at": "2021-07-21T22:34:50.343095", + "elapsed": 0.242198, + "encoding": "utf-8", + "headers": { + "Date": "Wed, 21 Jul 2021 22:34:50 GMT", + "Content-Type": "application/json", + "Content-Length": "308", + "Connection": "keep-alive", + "Server": "gunicorn/19.9.0", + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Credentials": "true" + }, + "request": { + "body": "PH%2y", + "headers": { + "User-Agent": "python-requests/2.26.0", + "Accept-Encoding": "gzip, deflate", + "Accept": "*/*", + "Connection": "keep-alive" + }, + "method": "GET", + "url": "https://httpbin.org/get" + }, + "raw": { + "decode_content": false, + "reason": "OK", + "status": 200, + "version": 11 + } +} diff --git a/docs/sample_data/sample_response.yaml b/docs/sample_data/sample_response.yaml new file mode 100644 index 0000000..07bc7ca --- /dev/null +++ b/docs/sample_data/sample_response.yaml @@ -0,0 +1,37 @@ +url: https://httpbin.org/get +status_code: 200 +reason: OK +_content: !!binary | + ewogICJhcmdzIjoge30sIAogICJoZWFkZXJzIjogewogICAgIkFjY2VwdCI6ICIqLyoiLCAKICAg + ICJBY2NlcHQtRW5jb2RpbmciOiAiZ3ppcCwgZGVmbGF0ZSIsIAogICAgIkhvc3QiOiAiaHR0cGJp + bi5vcmciLCAKICAgICJVc2VyLUFnZW50IjogInB5dGhvbi1yZXF1ZXN0cy8yLjI2LjAiLCAKICAg + ICJYLUFtem4tVHJhY2UtSWQiOiAiUm9vdD0xLTYwZjhhMDcxLTBiN2JmN2VjNGMyZTdmNjA2YWI4 + ZDYyNCIKICB9LCAKICAib3JpZ2luIjogIjE3My4xOS4xNDEuMjUyIiwgCiAgInVybCI6ICJodHRw + czovL2h0dHBiaW4ub3JnL2dldCIKfQo= +cache_key: 4dc151d95200ec91fa77021989f5194e9be47e87f8f228306f3a8d5434b9e547 +created_at: '2021-07-21T22:32:17.592974' +elapsed: 0.187586 +encoding: utf-8 +headers: + Access-Control-Allow-Credentials: 'true' + Access-Control-Allow-Origin: '*' + Connection: keep-alive + Content-Length: '308' + Content-Type: application/json + Date: Wed, 21 Jul 2021 22:32:17 GMT + Server: gunicorn/19.9.0 +request: + method: GET + url: https://httpbin.org/get + body: !!binary | + Tm9uZQ== + headers: + Accept: '*/*' + Accept-Encoding: gzip, deflate + Connection: keep-alive + User-Agent: python-requests/2.26.0 +raw: + decode_content: false + reason: OK + status: 200 + version: 11 |
