diff options
Diffstat (limited to 'tests/cassettes/test_push_delete.yaml')
-rw-r--r-- | tests/cassettes/test_push_delete.yaml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/cassettes/test_push_delete.yaml b/tests/cassettes/test_push_delete.yaml index fc056ce..87588be 100644 --- a/tests/cassettes/test_push_delete.yaml +++ b/tests/cassettes/test_push_delete.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=BE5DCzM%2FN5hRDec%2F%2BsHLm7xTpOvwqkj1Dx0F9Sz5DFaf2BpmcwFZzYyy1GlKyfznQKkL%2FsElV6yqdxW7CE8O56Y%3D&subscription%5Bkeys%5D%5Bauth%5D=p4SQFog4j2x12srlDe3Q3g%3D%3D | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BGKxXoHbg%2BNslvdwCnXIxRHQR21TmbI3ZHOqOIZCN6TPpP6AZBCOcy6lU9xyXU1b69VrjNHUSMhYWDVBHl8ZJIw%3D&subscription%5Bkeys%5D%5Bauth%5D=3BZJ%2B3r3eoJHsxncn8WUYQ%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: ['248'] | 9 | Content-Length: ['244'] |
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":45,"endpoint":"https://example.com","alerts":{},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} | 15 | body: {string: '{"id":48,"endpoint":"https://example.com","alerts":{},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} |
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,8 +23,8 @@ 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: [4fd1bf08-e449-44e7-b1c8-c247c17ca3dc] | 26 | X-Request-Id: [a676fe56-130d-42e0-bddd-5d4ea8146197] |
27 | X-Runtime: ['0.030309'] | 27 | X-Runtime: ['0.024818'] |
28 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['158'] | 29 | content-length: ['158'] |
30 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
@@ -51,8 +51,8 @@ interactions: | |||
51 | X-Download-Options: [noopen] | 51 | X-Download-Options: [noopen] |
52 | X-Frame-Options: [SAMEORIGIN] | 52 | X-Frame-Options: [SAMEORIGIN] |
53 | X-Permitted-Cross-Domain-Policies: [none] | 53 | X-Permitted-Cross-Domain-Policies: [none] |
54 | X-Request-Id: [8808305b-e462-4586-bcdc-0cadad478708] | 54 | X-Request-Id: [251d35f6-96be-4e90-b776-14f8953abdc2] |
55 | X-Runtime: ['0.037431'] | 55 | X-Runtime: ['0.019851'] |
56 | X-XSS-Protection: [1; mode=block] | 56 | X-XSS-Protection: [1; mode=block] |
57 | content-length: ['2'] | 57 | content-length: ['2'] |
58 | status: {code: 200, message: OK} | 58 | status: {code: 200, message: OK} |
@@ -78,8 +78,8 @@ interactions: | |||
78 | X-Download-Options: [noopen] | 78 | X-Download-Options: [noopen] |
79 | X-Frame-Options: [SAMEORIGIN] | 79 | X-Frame-Options: [SAMEORIGIN] |
80 | X-Permitted-Cross-Domain-Policies: [none] | 80 | X-Permitted-Cross-Domain-Policies: [none] |
81 | X-Request-Id: [7acba829-14de-466f-95b6-12a641ffdee9] | 81 | X-Request-Id: [e1b6b6be-10cf-4dfd-b3e9-a7ede9061c85] |
82 | X-Runtime: ['0.015415'] | 82 | X-Runtime: ['0.015498'] |
83 | X-XSS-Protection: [1; mode=block] | 83 | X-XSS-Protection: [1; mode=block] |
84 | content-length: ['28'] | 84 | content-length: ['28'] |
85 | status: {code: 404, message: Not Found} | 85 | status: {code: 404, message: Not Found} |