interactions: - request: body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BMRFi8X8HwJt8DpsOwDy4Om%2BQSePSKRFWx9j0lQGJGscQQl9Mq%2F51tFy5OC9hzaw4howCVIIpaSlhlzCRXlO0R8%3D&subscription%5Bkeys%5D%5Bauth%5D=In7jdPyRdpXgbnt1rpkMMQ%3D%3D headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN Connection: - keep-alive Content-Length: - '244' Content-Type: - application/x-www-form-urlencoded User-Agent: - tests/v311 method: POST uri: http://localhost:3000/api/v1/push/subscription response: body: string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; style-src ''self'' http://localhost:3000 ''nonce-8YWMtj/i/ws5UqZCh8mBcg==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; worker-src ''self'' blob: http://localhost:3000' Content-Type: - application/json; charset=utf-8 ETag: - W/"af702012e6beb01ed6e0b38a78cd9d2e" 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: - a1299347-ee67-4d01-8e16-6f1e756a7c72 X-Runtime: - '0.029314' 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 Connection: - keep-alive User-Agent: - tests/v311 method: GET uri: http://localhost:3000/api/v1/push/subscription response: body: string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; style-src ''self'' http://localhost:3000 ''nonce-JVsYBXQ/BjSGaflRZoRuCg==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; worker-src ''self'' blob: http://localhost:3000' Content-Type: - application/json; charset=utf-8 ETag: - W/"af702012e6beb01ed6e0b38a78cd9d2e" 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: - 5ceaab93-01e1-4f7e-973a-5a6e4b9e0eef X-Runtime: - '0.008223' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK version: 1