Mastodon.py/tests/cassettes/test_timeline_link_fails.yaml

60 wiersze
1.6 KiB
YAML

interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
User-Agent:
- tests/v311
method: GET
uri: http://localhost:3000/api/v1/timelines/link?url=http://example.com/
response:
body:
string: '{"error":"Record not found"}'
headers:
Content-Length:
- '28'
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
server-timing:
- cache_read.active_support;dur=0.05, sql.active_record;dur=1.59, cache_generate.active_support;dur=1.41,
cache_write.active_support;dur=0.10, instantiation.active_record;dur=0.17,
start_processing.action_controller;dur=0.00, render.active_model_serializers;dur=0.03,
process_action.action_controller;dur=28.26
vary:
- Authorization, Origin
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
x-permitted-cross-domain-policies:
- none
x-ratelimit-limit:
- '300'
x-ratelimit-remaining:
- '299'
x-ratelimit-reset:
- '2025-08-17T18:50:00.580309Z'
x-request-id:
- 3dcb6048-20f8-4493-b307-b7a9f03f39f0
x-runtime:
- '0.047482'
x-xss-protection:
- '0'
status:
code: 404
message: Not Found
version: 1