Mastodon.py/tests/cassettes/test_status_missing.yaml
2023-04-23 21:22:33 +03:00

51 lines
1.1 KiB
YAML

interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
User-Agent:
- tests/v311
method: GET
uri: http://localhost:3000/api/v1/statuses/0
response:
body:
string: '{"error":"Record not found"}'
headers:
Cache-Control:
- private, no-store
Content-Security-Policy:
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
Referrer-Policy:
- strict-origin-when-cross-origin
Transfer-Encoding:
- chunked
Vary:
- Accept, Origin
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- SAMEORIGIN
X-Permitted-Cross-Domain-Policies:
- none
X-Request-Id:
- c9e14e73-d952-4f82-9dd5-f548f538eb9b
X-Runtime:
- '0.011446'
X-XSS-Protection:
- 1; mode=block
status:
code: 404
message: Not Found
version: 1