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]
X-Request-Id: [d9853d08-205a-46d4-ba19-eb5350ab7ef5]
X-Runtime: ['0.032581']
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