Mastodonplus.py/tests/cassettes/test_status_empty.yaml

33 líneas
1,2 KiB
YAML
Original Vista normal Històric

2017-11-29 22:03:51 +01:00
interactions:
- request:
2018-04-18 22:00:35 +02:00
body: status=
2017-11-29 22:03:51 +01:00
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
2018-04-18 22:00:35 +02:00
Content-Length: ['7']
2017-11-29 22:03:51 +01:00
Content-Type: [application/x-www-form-urlencoded]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2017-11-29 22:03:51 +01:00
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
2018-06-05 22:10:31 +02:00
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\"}"}
2017-11-29 22:03:51 +01:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-05 22:10:31 +02:00
Content-Type: [application/json; charset=utf-8]
Referrer-Policy: [strict-origin-when-cross-origin]
2018-04-18 22:00:35 +02:00
Transfer-Encoding: [chunked]
2018-06-05 22:10:31 +02:00
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
2019-06-22 23:16:47 +02:00
X-Request-Id: [322f1738-86dc-4aaa-9203-33ed8702f60b]
X-Runtime: ['0.045138']
2018-06-05 22:10:31 +02:00
X-XSS-Protection: [1; mode=block]
content-length: ['87']
status: {code: 422, message: Unprocessable Entity}
2017-11-29 22:03:51 +01:00
version: 1