diff options
Diffstat (limited to 'tests/cassettes/test_push_set.yaml')
-rw-r--r-- | tests/cassettes/test_push_set.yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/cassettes/test_push_set.yaml b/tests/cassettes/test_push_set.yaml index 1237d79..832440b 100644 --- a/tests/cassettes/test_push_set.yaml +++ b/tests/cassettes/test_push_set.yaml | |||
@@ -1,18 +1,18 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BC8J%2BAOSp0qSf4liRHkw0mrx01QrIqDHjz5F6qc8NuiG6M03i4QGIeWm3IYhwvIqMkOO30bqGmkoewGU7BN1Fnc%3D&subscription%5Bkeys%5D%5Bauth%5D=C3U3NXZP%2Fei0KKRVU2anWw%3D%3D | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BBi%2FHx%2FAhmq3XWlwfKMHD%2BHnMEmsqKBuBhwmJKOY937JK3WlUEC2J7Qch0qP0KI6nKX1atso2bUNmIBwCzKnlWQ%3D&subscription%5Bkeys%5D%5Bauth%5D=V8%2FoDC%2F4YShaJP6lg%2F4kgg%3D%3D |
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: ['*/*'] |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | Accept-Encoding: ['gzip, deflate'] |
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | Content-Length: ['244'] | 9 | Content-Length: ['252'] |
10 | Content-Type: [application/x-www-form-urlencoded] | 10 | Content-Type: [application/x-www-form-urlencoded] |
11 | User-Agent: [python-requests/2.18.4] | 11 | User-Agent: [python-requests/2.18.4] |
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/push/subscription | 13 | uri: http://localhost:3000/api/v1/push/subscription |
14 | response: | 14 | response: |
15 | body: {string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'} | 15 | body: {string: '{"id":13,"endpoint":"https://example.com","alerts":{},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'} |
16 | headers: | 16 | headers: |
17 | Cache-Control: ['no-cache, no-store'] | 17 | Cache-Control: ['no-cache, no-store'] |
18 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
@@ -23,10 +23,10 @@ interactions: | |||
23 | X-Download-Options: [noopen] | 23 | X-Download-Options: [noopen] |
24 | X-Frame-Options: [SAMEORIGIN] | 24 | X-Frame-Options: [SAMEORIGIN] |
25 | X-Permitted-Cross-Domain-Policies: [none] | 25 | X-Permitted-Cross-Domain-Policies: [none] |
26 | X-Request-Id: [14d88eb8-c6e3-42d9-954d-35a3b28c47f4] | 26 | X-Request-Id: [f5239ae3-2270-4e8c-9a7f-a5e36391a80f] |
27 | X-Runtime: ['0.044297'] | 27 | X-Runtime: ['0.036557'] |
28 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['157'] | 29 | content-length: ['158'] |
30 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
31 | - request: | 31 | - request: |
32 | body: null | 32 | body: null |
@@ -39,7 +39,7 @@ interactions: | |||
39 | method: GET | 39 | method: GET |
40 | uri: http://localhost:3000/api/v1/push/subscription | 40 | uri: http://localhost:3000/api/v1/push/subscription |
41 | response: | 41 | response: |
42 | body: {string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'} | 42 | body: {string: '{"id":13,"endpoint":"https://example.com","alerts":{},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'} |
43 | headers: | 43 | headers: |
44 | Cache-Control: ['no-cache, no-store'] | 44 | Cache-Control: ['no-cache, no-store'] |
45 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
@@ -50,9 +50,9 @@ interactions: | |||
50 | X-Download-Options: [noopen] | 50 | X-Download-Options: [noopen] |
51 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
52 | X-Permitted-Cross-Domain-Policies: [none] | 52 | X-Permitted-Cross-Domain-Policies: [none] |
53 | X-Request-Id: [dc0af102-227e-4701-80d5-0939633bad49] | 53 | X-Request-Id: [2edefc6b-f7af-438e-afd6-4c4e1ef14cbf] |
54 | X-Runtime: ['0.017843'] | 54 | X-Runtime: ['0.015058'] |
55 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['157'] | 56 | content-length: ['158'] |
57 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
58 | version: 1 | 58 | version: 1 |