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":"2023-06-23T15:01:12.510Z","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/"9597da5fa4c5ad5195898458a7f226c5" 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: - 8ee70970-0643-4ba2-89b2-1bbbf548c8b3 X-Runtime: - '0.073722' 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":"2023-06-23T15:01:12.510Z","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/"2d3ad0c5a754e22cecc4acbe21b963cd" 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: - 4ff246b5-49a6-4391-a4a9-19948aa03d5d X-Runtime: - '0.011611' 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":"2023-06-23T15:01:12.510Z","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/"9597da5fa4c5ad5195898458a7f226c5" 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: - 2d45b30a-8964-450a-b5e1-f9f47b90f9ae X-Runtime: - '0.010215' 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":"2023-06-23T15:01:12.510Z","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/"2c20d982f3ca4648a411061ba71cfcf9" 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: - 5f22253b-093d-4bc3-8f89-e7caa48998fb X-Runtime: - '0.020489' 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: - 4cb7bdc3-5b8f-46cb-9e49-77d29ccad3b5 X-Runtime: - '0.023139' 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: - bc7ba0f8-d55b-4fa0-b15e-7c8744f7b4f5 X-Runtime: - '0.010563' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK version: 1