diff options
Diffstat (limited to 'tests/cassettes/test_domain_block_unblock.yaml')
-rw-r--r-- | tests/cassettes/test_domain_block_unblock.yaml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/cassettes/test_domain_block_unblock.yaml b/tests/cassettes/test_domain_block_unblock.yaml index 10f6c9d..319817a 100644 --- a/tests/cassettes/test_domain_block_unblock.yaml +++ b/tests/cassettes/test_domain_block_unblock.yaml | |||
@@ -53,4 +53,58 @@ interactions: | |||
53 | X-XSS-Protection: [1; mode=block] | 53 | X-XSS-Protection: [1; mode=block] |
54 | content-length: ['2'] | 54 | content-length: ['2'] |
55 | status: {code: 200, message: OK} | 55 | status: {code: 200, message: OK} |
56 | - request: | ||
57 | body: domain=example.com | ||
58 | headers: | ||
59 | Accept: ['*/*'] | ||
60 | Accept-Encoding: ['gzip, deflate'] | ||
61 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
62 | Connection: [keep-alive] | ||
63 | Content-Length: ['18'] | ||
64 | Content-Type: [application/x-www-form-urlencoded] | ||
65 | User-Agent: [python-requests/2.9.1] | ||
66 | method: POST | ||
67 | uri: http://localhost:3000/api/v1/domain_blocks | ||
68 | response: | ||
69 | body: {string: '{}'} | ||
70 | headers: | ||
71 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
72 | Content-Type: [application/json; charset=utf-8] | ||
73 | ETag: [W/"ebde216f2328956515154640c4a2b85b"] | ||
74 | Transfer-Encoding: [chunked] | ||
75 | Vary: ['Accept-Encoding, Origin'] | ||
76 | X-Content-Type-Options: [nosniff] | ||
77 | X-Frame-Options: [SAMEORIGIN] | ||
78 | X-Request-Id: [22d5b06e-ba87-40b2-be5a-6f7b260ab17a] | ||
79 | X-Runtime: ['0.120367'] | ||
80 | X-XSS-Protection: [1; mode=block] | ||
81 | content-length: ['2'] | ||
82 | status: {code: 200, message: OK} | ||
83 | - request: | ||
84 | body: domain=example.com | ||
85 | headers: | ||
86 | Accept: ['*/*'] | ||
87 | Accept-Encoding: ['gzip, deflate'] | ||
88 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
89 | Connection: [keep-alive] | ||
90 | Content-Length: ['18'] | ||
91 | Content-Type: [application/x-www-form-urlencoded] | ||
92 | User-Agent: [python-requests/2.9.1] | ||
93 | method: DELETE | ||
94 | uri: http://localhost:3000/api/v1/domain_blocks | ||
95 | response: | ||
96 | body: {string: '{}'} | ||
97 | headers: | ||
98 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
99 | Content-Type: [application/json; charset=utf-8] | ||
100 | ETag: [W/"ebde216f2328956515154640c4a2b85b"] | ||
101 | Transfer-Encoding: [chunked] | ||
102 | Vary: ['Accept-Encoding, Origin'] | ||
103 | X-Content-Type-Options: [nosniff] | ||
104 | X-Frame-Options: [SAMEORIGIN] | ||
105 | X-Request-Id: [be79c3b1-4d44-4462-8f01-eec3100f6846] | ||
106 | X-Runtime: ['0.086647'] | ||
107 | X-XSS-Protection: [1; mode=block] | ||
108 | content-length: ['2'] | ||
109 | status: {code: 200, message: OK} | ||
56 | version: 1 | 110 | version: 1 |