diff options
Diffstat (limited to 'tests/cassettes/test_domain_block_unblock.yaml')
-rw-r--r-- | tests/cassettes/test_domain_block_unblock.yaml | 154 |
1 files changed, 110 insertions, 44 deletions
diff --git a/tests/cassettes/test_domain_block_unblock.yaml b/tests/cassettes/test_domain_block_unblock.yaml index c58a78a..1bc922c 100644 --- a/tests/cassettes/test_domain_block_unblock.yaml +++ b/tests/cassettes/test_domain_block_unblock.yaml | |||
@@ -2,59 +2,125 @@ interactions: | |||
2 | - request: | 2 | - request: |
3 | body: domain=example.com | 3 | body: domain=example.com |
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: ['18'] | 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 | - '18' | ||
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/domain_blocks | 20 | uri: http://localhost:3000/api/v1/domain_blocks |
14 | response: | 21 | response: |
15 | body: {string: '{}'} | 22 | body: |
23 | string: '{}' | ||
16 | headers: | 24 | headers: |
17 | Cache-Control: ['no-cache, no-store'] | 25 | Cache-Control: |
18 | Content-Type: [application/json; charset=utf-8] | 26 | - no-store |
19 | Referrer-Policy: [strict-origin-when-cross-origin] | 27 | Content-Security-Policy: |
20 | Transfer-Encoding: [chunked] | 28 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
21 | Vary: ['Accept-Encoding, Origin'] | 29 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
22 | X-Content-Type-Options: [nosniff] | 30 | style-src ''self'' http://localhost:3000 ''nonce-ow40rFq4y3OrVbnmyBeOIA==''; |
23 | X-Download-Options: [noopen] | 31 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
24 | X-Frame-Options: [SAMEORIGIN] | 32 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
25 | X-Permitted-Cross-Domain-Policies: [none] | 33 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
26 | X-Request-Id: [ba751890-7575-41db-bf00-0fa4d9c34c9c] | 34 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
27 | X-Runtime: ['0.100344'] | 35 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
28 | X-XSS-Protection: [1; mode=block] | 36 | worker-src ''self'' blob: http://localhost:3000' |
29 | content-length: ['2'] | 37 | Content-Type: |
30 | status: {code: 200, message: OK} | 38 | - application/json; charset=utf-8 |
39 | ETag: | ||
40 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
41 | Referrer-Policy: | ||
42 | - strict-origin-when-cross-origin | ||
43 | Transfer-Encoding: | ||
44 | - chunked | ||
45 | Vary: | ||
46 | - Accept, Origin | ||
47 | X-Content-Type-Options: | ||
48 | - nosniff | ||
49 | X-Download-Options: | ||
50 | - noopen | ||
51 | X-Frame-Options: | ||
52 | - SAMEORIGIN | ||
53 | X-Permitted-Cross-Domain-Policies: | ||
54 | - none | ||
55 | X-Request-Id: | ||
56 | - 1e3b3feb-7c6b-47be-a868-ebe6522ae182 | ||
57 | X-Runtime: | ||
58 | - '0.015656' | ||
59 | X-XSS-Protection: | ||
60 | - 1; mode=block | ||
61 | status: | ||
62 | code: 200 | ||
63 | message: OK | ||
31 | - request: | 64 | - request: |
32 | body: domain=example.com | 65 | body: domain=example.com |
33 | headers: | 66 | headers: |
34 | Accept: ['*/*'] | 67 | Accept: |
35 | Accept-Encoding: ['gzip, deflate'] | 68 | - '*/*' |
36 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 69 | Accept-Encoding: |
37 | Connection: [keep-alive] | 70 | - gzip, deflate |
38 | Content-Length: ['18'] | 71 | Authorization: |
39 | Content-Type: [application/x-www-form-urlencoded] | 72 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
40 | User-Agent: [python-requests/2.18.4] | 73 | Connection: |
74 | - keep-alive | ||
75 | Content-Length: | ||
76 | - '18' | ||
77 | Content-Type: | ||
78 | - application/x-www-form-urlencoded | ||
79 | User-Agent: | ||
80 | - tests/v311 | ||
41 | method: DELETE | 81 | method: DELETE |
42 | uri: http://localhost:3000/api/v1/domain_blocks | 82 | uri: http://localhost:3000/api/v1/domain_blocks |
43 | response: | 83 | response: |
44 | body: {string: '{}'} | 84 | body: |
85 | string: '{}' | ||
45 | headers: | 86 | headers: |
46 | Cache-Control: ['no-cache, no-store'] | 87 | Cache-Control: |
47 | Content-Type: [application/json; charset=utf-8] | 88 | - no-store |
48 | Referrer-Policy: [strict-origin-when-cross-origin] | 89 | Content-Security-Policy: |
49 | Transfer-Encoding: [chunked] | 90 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
50 | Vary: ['Accept-Encoding, Origin'] | 91 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
51 | X-Content-Type-Options: [nosniff] | 92 | style-src ''self'' http://localhost:3000 ''nonce-Zh52di7pJZOlaWTtQeS0hQ==''; |
52 | X-Download-Options: [noopen] | 93 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
53 | X-Frame-Options: [SAMEORIGIN] | 94 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
54 | X-Permitted-Cross-Domain-Policies: [none] | 95 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
55 | X-Request-Id: [8e4b30ec-644c-4fcd-84ba-c88e5a656c87] | 96 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
56 | X-Runtime: ['0.066259'] | 97 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
57 | X-XSS-Protection: [1; mode=block] | 98 | worker-src ''self'' blob: http://localhost:3000' |
58 | content-length: ['2'] | 99 | Content-Type: |
59 | status: {code: 200, message: OK} | 100 | - application/json; charset=utf-8 |
101 | ETag: | ||
102 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
103 | Referrer-Policy: | ||
104 | - strict-origin-when-cross-origin | ||
105 | Transfer-Encoding: | ||
106 | - chunked | ||
107 | Vary: | ||
108 | - Accept, Origin | ||
109 | X-Content-Type-Options: | ||
110 | - nosniff | ||
111 | X-Download-Options: | ||
112 | - noopen | ||
113 | X-Frame-Options: | ||
114 | - SAMEORIGIN | ||
115 | X-Permitted-Cross-Domain-Policies: | ||
116 | - none | ||
117 | X-Request-Id: | ||
118 | - f19a79f6-ac1e-4e73-8c71-092d0eb09773 | ||
119 | X-Runtime: | ||
120 | - '0.011346' | ||
121 | X-XSS-Protection: | ||
122 | - 1; mode=block | ||
123 | status: | ||
124 | code: 200 | ||
125 | message: OK | ||
60 | version: 1 | 126 | version: 1 |