2018-06-05 22:52:18 +02:00
|
|
|
interactions:
|
|
|
|
- request:
|
2018-07-30 23:19:51 +02:00
|
|
|
body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BLdR63oM75HukNQB3N1M2AbdFFAHWA4chrgP4rmLYKcwaNm3H88Fm3bpg%2BS2GvHezWWK7WSunnCW3LWDuQVFFTQ%3D&subscription%5Bkeys%5D%5Bauth%5D=tIutL3F6pKzylc7ikS09ww%3D%3D
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
2018-07-30 23:19:51 +02:00
|
|
|
Content-Length: ['242']
|
2018-06-05 22:52:18 +02:00
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
2018-07-14 01:07:26 +02:00
|
|
|
User-Agent: [python-requests/2.18.4]
|
2018-06-05 22:52:18 +02:00
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2018-07-30 23:19:51 +02:00
|
|
|
body: {string: '{"id":7,"endpoint":"https://example.com","alerts":{},"server_key":"BFUzywftzA81kLihlpi_bTniTwxuGp_D2gX9CHRq4qJQJgsKQUFyc8juKZ-fHMR6YxnA1A1qhgVvMTChH21CMhY="}'}
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-07-30 23:19:51 +02:00
|
|
|
ETag: [W/"848533b1ff5d11d2a46f1048177d9cb1"]
|
2018-06-05 22:52:18 +02:00
|
|
|
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]
|
2018-07-30 23:19:51 +02:00
|
|
|
X-Request-Id: [53cd0aa6-7c00-4a85-aedc-11eba6936891]
|
|
|
|
X-Runtime: ['0.049083']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['157']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
2018-07-14 01:07:26 +02:00
|
|
|
User-Agent: [python-requests/2.18.4]
|
2018-06-05 22:52:18 +02:00
|
|
|
method: GET
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2018-07-30 23:19:51 +02:00
|
|
|
body: {string: '{"id":7,"endpoint":"https://example.com","alerts":{},"server_key":"BFUzywftzA81kLihlpi_bTniTwxuGp_D2gX9CHRq4qJQJgsKQUFyc8juKZ-fHMR6YxnA1A1qhgVvMTChH21CMhY="}'}
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-07-30 23:19:51 +02:00
|
|
|
ETag: [W/"848533b1ff5d11d2a46f1048177d9cb1"]
|
2018-06-05 22:52:18 +02:00
|
|
|
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]
|
2018-07-30 23:19:51 +02:00
|
|
|
X-Request-Id: [00c21404-c626-4ecd-8071-f88804555dd8]
|
|
|
|
X-Runtime: ['0.024180']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['157']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
version: 1
|