Mastodon.py/tests/cassettes/test_status_empty.yaml

66 wiersze
1.8 KiB
YAML

interactions:
- request:
body: status=
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
Content-Length:
- '7'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- tests/v311
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
body:
string: "{\"error\":\"\u30D0\u30EA\u30C7\u30FC\u30B7\u30E7\u30F3\u306B\u5931\
\u6557\u3057\u307E\u3057\u305F: Text\u3092\u5165\u529B\u3057\u3066\u304F\u3060\
\u3055\u3044\"}"
headers:
Content-Length:
- '87'
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.03, sql.active_record;dur=0.94, cache_generate.active_support;dur=1.19,
cache_write.active_support;dur=0.09, instantiation.active_record;dur=0.26,
start_processing.action_controller;dur=0.00, render.active_model_serializers;dur=0.03,
process_action.action_controller;dur=30.37
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:
- '242'
x-ratelimit-reset:
- '2025-08-17T21:00:00.722518Z'
x-request-id:
- ad3b508c-a153-4bcb-8d34-661a08735fc7
x-runtime:
- '0.047930'
x-xss-protection:
- '0'
status:
code: 422
message: Unprocessable Content
version: 1