aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_empty.yaml')
-rw-r--r--tests/cassettes/test_status_empty.yaml82
1 files changed, 60 insertions, 22 deletions
diff --git a/tests/cassettes/test_status_empty.yaml b/tests/cassettes/test_status_empty.yaml
index 4c66e9b..deba2e5 100644
--- a/tests/cassettes/test_status_empty.yaml
+++ b/tests/cassettes/test_status_empty.yaml
@@ -2,30 +2,68 @@ interactions:
2- request: 2- request:
3 body: status= 3 body: status=
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept:
6 Accept-Encoding: ['gzip, deflate'] 6 - '*/*'
7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 7 Accept-Encoding:
8 Connection: [keep-alive] 8 - gzip, deflate
9 Content-Length: ['7'] 9 Authorization:
10 Content-Type: [application/x-www-form-urlencoded] 10 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
11 User-Agent: [python-requests/2.18.4] 11 Connection:
12 - keep-alive
13 Content-Length:
14 - '7'
15 Content-Type:
16 - application/x-www-form-urlencoded
17 User-Agent:
18 - tests/v311
12 method: POST 19 method: POST
13 uri: http://localhost:3000/api/v1/statuses 20 uri: http://localhost:3000/api/v1/statuses
14 response: 21 response:
15 body: {string: '{"error":"Validation failed: Text can''t be blank"}'} 22 body:
23 string: "{\"error\":\"\u30D0\u30EA\u30C7\u30FC\u30B7\u30E7\u30F3\u306B\u5931\u6557\u3057\u307E\u3057\u305F:
24 Text\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\"}"
16 headers: 25 headers:
17 Cache-Control: ['no-cache, no-store'] 26 Cache-Control:
18 Content-Type: [application/json; charset=utf-8] 27 - no-store
19 Referrer-Policy: [strict-origin-when-cross-origin] 28 Content-Security-Policy:
20 Transfer-Encoding: [chunked] 29 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
21 Vary: ['Accept-Encoding, Origin'] 30 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
22 X-Content-Type-Options: [nosniff] 31 style-src ''self'' http://localhost:3000 ''nonce-MWwPVCcRqu5C3DJQ0yg7Og=='';
23 X-Download-Options: [noopen] 32 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
24 X-Frame-Options: [SAMEORIGIN] 33 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
25 X-Permitted-Cross-Domain-Policies: [none] 34 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
26 X-Request-Id: [1c82a1c4-f0fd-4d0d-90cb-b388f944f089] 35 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
27 X-Runtime: ['0.046340'] 36 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
28 X-XSS-Protection: [1; mode=block] 37 worker-src ''self'' blob: http://localhost:3000'
29 content-length: ['50'] 38 Content-Type:
30 status: {code: 422, message: Unprocessable Entity} 39 - application/json; charset=utf-8
40 Referrer-Policy:
41 - strict-origin-when-cross-origin
42 Transfer-Encoding:
43 - chunked
44 Vary:
45 - Accept, Origin
46 X-Content-Type-Options:
47 - nosniff
48 X-Download-Options:
49 - noopen
50 X-Frame-Options:
51 - SAMEORIGIN
52 X-Permitted-Cross-Domain-Policies:
53 - none
54 X-RateLimit-Limit:
55 - '300'
56 X-RateLimit-Remaining:
57 - '222'
58 X-RateLimit-Reset:
59 - '2022-11-07T21:00:00.330885Z'
60 X-Request-Id:
61 - c96d5629-a8c0-4b5a-a2f5-e6bb9f1678de
62 X-Runtime:
63 - '0.016425'
64 X-XSS-Protection:
65 - 1; mode=block
66 status:
67 code: 422
68 message: Unprocessable Entity
31version: 1 69version: 1
Powered by cgit v1.2.3 (git 2.41.0)