interactions: - request: body: domain=https%3A%2F%2Fchitter.xyz%2F&severity=suspend&public_comment=sicko+behaviour headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 Connection: - keep-alive Content-Length: - '83' Content-Type: - application/x-www-form-urlencoded User-Agent: - tests/v311 method: POST uri: http://localhost:3000/api/v1/admin/domain_blocks/ response: body: string: '{"id":"1","domain":"https:chitter.xyz","created_at":"2024-02-11T11:49:57.021Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko behaviour","obfuscate":false}' headers: Cache-Control: - private, no-store Content-Security-Policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' Content-Type: - application/json; charset=utf-8 ETag: - W/"bca8c18562771e59e5ebde94bba9cc68" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: - chunked Vary: - Accept, Origin X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - SAMEORIGIN X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - 7f58df72-55b5-40b1-9b6e-ab7bfb4ee0d8 X-Runtime: - '0.060750' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 Connection: - keep-alive User-Agent: - tests/v311 method: GET uri: http://localhost:3000/api/v1/admin/domain_blocks/ response: body: string: '[{"id":"1","domain":"https:chitter.xyz","created_at":"2024-02-11T11:49:57.021Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko behaviour","obfuscate":false}]' headers: Cache-Control: - private, no-store Content-Security-Policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' Content-Type: - application/json; charset=utf-8 ETag: - W/"83a7227930c497bd4e2f7e913f0e080b" Link: - ; rel="prev" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: - chunked Vary: - Accept, Origin X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - SAMEORIGIN X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - 81f8aa41-e595-4877-9b33-78ef1f1b4ad0 X-Runtime: - '0.013133' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 Connection: - keep-alive User-Agent: - tests/v311 method: GET uri: http://localhost:3000/api/v1/admin/domain_blocks/1 response: body: string: '{"id":"1","domain":"https:chitter.xyz","created_at":"2024-02-11T11:49:57.021Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko behaviour","obfuscate":false}' headers: Cache-Control: - private, no-store Content-Security-Policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' Content-Type: - application/json; charset=utf-8 ETag: - W/"bca8c18562771e59e5ebde94bba9cc68" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: - chunked Vary: - Accept, Origin X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - SAMEORIGIN X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - ae04725c-416e-4c3a-8f69-0d541d23476e X-Runtime: - '0.012606' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: body: severity=silence&private_comment=jk+ilu+%3C3 headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 Connection: - keep-alive Content-Length: - '44' Content-Type: - application/x-www-form-urlencoded User-Agent: - tests/v311 method: PUT uri: http://localhost:3000/api/v1/admin/domain_blocks/1 response: body: string: '{"id":"1","domain":"https:chitter.xyz","created_at":"2024-02-11T11:49:57.021Z","severity":"silence","reject_media":false,"reject_reports":false,"private_comment":"jk ilu \u003c3","public_comment":"sicko behaviour","obfuscate":false}' headers: Cache-Control: - private, no-store Content-Security-Policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' Content-Type: - application/json; charset=utf-8 ETag: - W/"0eb032a808e68f53c7183224d218a0c5" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: - chunked Vary: - Accept, Origin X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - SAMEORIGIN X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - ca478dcb-98c0-4f18-a80f-6d0c65f9728e X-Runtime: - '0.022140' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 Connection: - keep-alive Content-Length: - '0' User-Agent: - tests/v311 method: DELETE uri: http://localhost:3000/api/v1/admin/domain_blocks/1 response: body: string: '{}' headers: Cache-Control: - private, no-store Content-Security-Policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' Content-Type: - application/json; charset=utf-8 ETag: - W/"44136fa355b3678a1146ad16f7e8649e" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: - chunked Vary: - Accept, Origin X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - SAMEORIGIN X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - 5bb27d9e-4bfe-40ab-b28d-dcfeb7f78ddc X-Runtime: - '0.021423' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 Connection: - keep-alive User-Agent: - tests/v311 method: GET uri: http://localhost:3000/api/v1/admin/domain_blocks/ response: body: string: '[]' headers: Cache-Control: - private, no-store Content-Security-Policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' Content-Type: - application/json; charset=utf-8 ETag: - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: - chunked Vary: - Accept, Origin X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - SAMEORIGIN X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - ebb1def5-8100-4646-920e-8700d85fb200 X-Runtime: - '0.010894' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK version: 1