Mastodonplus.py/tests/cassettes/test_status_empty.yaml

32 líneas
1,1 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:
body: {string: '{"error":"Validation failed: Text can''t be blank"}'}
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]
2020-02-22 20:31:33 +01:00
X-Request-Id: [1c82a1c4-f0fd-4d0d-90cb-b388f944f089]
X-Runtime: ['0.046340']
2018-06-05 22:10:31 +02:00
X-XSS-Protection: [1; mode=block]
content-length: ['50']
2018-06-05 22:10:31 +02:00
status: {code: 422, message: Unprocessable Entity}
2017-11-29 22:03:51 +01:00
version: 1