interactions: - request: body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BIZ1wWA3EboNcUWBZN5glPa1WVlA5BBS%2FGIQCbule2Zf%2FUg1bBSoT%2BmPJ5%2FLasg23FpxrNHSyPaJIYqV%2BV0iU24%3D&subscription%5Bkeys%5D%5Bauth%5D=Kxunpb%2F7V%2BbjkNYNUuqwlw%3D%3D&data%5Balerts%5D%5Bfollow%5D=0&data%5Balerts%5D%5Bfavourite%5D=0&data%5Balerts%5D%5Breblog%5D=0&data%5Balerts%5D%5Bmention%5D=0 headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['382'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/push/subscription response: body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":false,"favourite":false,"reblog":false,"mention":false},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [b179ef39-798e-4509-8254-650b5bab6248] X-Runtime: ['0.052281'] X-XSS-Protection: [1; mode=block] content-length: ['221'] status: {code: 200, message: OK} - request: body: data%5Balerts%5D%5Bfollow%5D=1&data%5Balerts%5D%5Bfavourite%5D=1&data%5Balerts%5D%5Breblog%5D=1&data%5Balerts%5D%5Bmention%5D=1 headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['127'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: PUT uri: http://localhost:3000/api/v1/push/subscription response: body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":true,"favourite":true,"reblog":true,"mention":true},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [77c71d4e-4122-4352-be58-000c07f2b5b0] X-Runtime: ['0.018310'] X-XSS-Protection: [1; mode=block] content-length: ['217'] 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: [python-requests/2.18.4] method: GET uri: http://localhost:3000/api/v1/push/subscription response: body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":true,"favourite":true,"reblog":true,"mention":true},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [ba525c4c-71b1-48c8-86fc-595b8242c274] X-Runtime: ['0.017948'] X-XSS-Protection: [1; mode=block] content-length: ['217'] status: {code: 200, message: OK} - request: body: data%5Balerts%5D%5Bfollow%5D=0&data%5Balerts%5D%5Bfavourite%5D=0&data%5Balerts%5D%5Breblog%5D=0&data%5Balerts%5D%5Bmention%5D=0 headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['127'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: PUT uri: http://localhost:3000/api/v1/push/subscription response: body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":false,"favourite":false,"reblog":false,"mention":false},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [a1f9a93e-183e-4915-915a-69fe399ab25f] X-Runtime: ['0.030133'] X-XSS-Protection: [1; mode=block] content-length: ['221'] 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: [python-requests/2.18.4] method: GET uri: http://localhost:3000/api/v1/push/subscription response: body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":false,"favourite":false,"reblog":false,"mention":false},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [2b1245fe-6cd3-4afd-96d7-ccee7791f4df] X-Runtime: ['0.028445'] X-XSS-Protection: [1; mode=block] content-length: ['221'] 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: [python-requests/2.18.4] method: GET uri: http://localhost:3000/api/v1/push/subscription response: body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":false,"favourite":false,"reblog":false,"mention":false},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] X-Request-Id: [6d7d368e-82d3-42a1-857b-2dc0240fb8b7] X-Runtime: ['0.014119'] X-XSS-Protection: [1; mode=block] content-length: ['221'] status: {code: 200, message: OK} version: 1