diff options
Diffstat (limited to 'tests/cassettes/test_status_missing.yaml')
-rw-r--r-- | tests/cassettes/test_status_missing.yaml | 69 |
1 files changed, 49 insertions, 20 deletions
diff --git a/tests/cassettes/test_status_missing.yaml b/tests/cassettes/test_status_missing.yaml index 7115a18..2921ef5 100644 --- a/tests/cassettes/test_status_missing.yaml +++ b/tests/cassettes/test_status_missing.yaml | |||
@@ -2,28 +2,57 @@ interactions: | |||
2 | - request: | 2 | - request: |
3 | body: null | 3 | body: null |
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 | User-Agent: [python-requests/2.18.4] | 9 | Authorization: |
10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
11 | Connection: | ||
12 | - keep-alive | ||
13 | User-Agent: | ||
14 | - tests/v311 | ||
10 | method: GET | 15 | method: GET |
11 | uri: http://localhost:3000/api/v1/statuses/0 | 16 | uri: http://localhost:3000/api/v1/statuses/0 |
12 | response: | 17 | response: |
13 | body: {string: '{"error":"Record not found"}'} | 18 | body: |
19 | string: '{"error":"Record not found"}' | ||
14 | headers: | 20 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 21 | Cache-Control: |
16 | Content-Type: [application/json; charset=utf-8] | 22 | - no-store |
17 | Referrer-Policy: [strict-origin-when-cross-origin] | 23 | Content-Security-Policy: |
18 | Transfer-Encoding: [chunked] | 24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
19 | Vary: ['Accept-Encoding, Origin'] | 25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
20 | X-Content-Type-Options: [nosniff] | 26 | style-src ''self'' http://localhost:3000 ''nonce-aGqjr8sFWI5TM9ts9g5Rkw==''; |
21 | X-Download-Options: [noopen] | 27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
22 | X-Frame-Options: [SAMEORIGIN] | 28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
23 | X-Permitted-Cross-Domain-Policies: [none] | 29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
24 | X-Request-Id: [28c3599d-6797-4999-9a5a-733db80f6c90] | 30 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
25 | X-Runtime: ['0.035855'] | 31 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
26 | X-XSS-Protection: [1; mode=block] | 32 | worker-src ''self'' blob: http://localhost:3000' |
27 | content-length: ['28'] | 33 | Content-Type: |
28 | status: {code: 404, message: Not Found} | 34 | - application/json; charset=utf-8 |
35 | Referrer-Policy: | ||
36 | - strict-origin-when-cross-origin | ||
37 | Transfer-Encoding: | ||
38 | - chunked | ||
39 | Vary: | ||
40 | - Accept, Origin | ||
41 | X-Content-Type-Options: | ||
42 | - nosniff | ||
43 | X-Download-Options: | ||
44 | - noopen | ||
45 | X-Frame-Options: | ||
46 | - SAMEORIGIN | ||
47 | X-Permitted-Cross-Domain-Policies: | ||
48 | - none | ||
49 | X-Request-Id: | ||
50 | - 2a5204aa-96cb-4d33-b229-f6c160d787e4 | ||
51 | X-Runtime: | ||
52 | - '0.007985' | ||
53 | X-XSS-Protection: | ||
54 | - 1; mode=block | ||
55 | status: | ||
56 | code: 404 | ||
57 | message: Not Found | ||
29 | version: 1 | 58 | version: 1 |