diff options
Diffstat (limited to 'tests/cassettes/test_push_delete.yaml')
-rw-r--r-- | tests/cassettes/test_push_delete.yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/cassettes/test_push_delete.yaml b/tests/cassettes/test_push_delete.yaml index 87588be..dab6881 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=BGKxXoHbg%2BNslvdwCnXIxRHQR21TmbI3ZHOqOIZCN6TPpP6AZBCOcy6lU9xyXU1b69VrjNHUSMhYWDVBHl8ZJIw%3D&subscription%5Bkeys%5D%5Bauth%5D=3BZJ%2B3r3eoJHsxncn8WUYQ%3D%3D | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BPJLfW03%2BNP04NbhC8zJs5xd30bDL%2B%2B0AghNrF1KcYN5uuznaJz%2FY%2B4s%2Bhe2e4FOiA80RQtYDUvJadQ6J3vvhyc%3D&subscription%5Bkeys%5D%5Bauth%5D=7J%2BeGTcOf7YRVA1Tbk06hg%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: ['254'] |
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":48,"endpoint":"https://example.com","alerts":{},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} | 15 | body: {string: '{"id":3,"endpoint":"https://example.com","alerts":{},"server_key":"BPSW9N0oBHCeTlN6VgEPwlf36QQzuU6XtxguTJSM9xyW9kxnN2I_lzcHsk3ShJMRa0Na7t2kiE9UyJWrtQOsTJo="}'} |
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: [a676fe56-130d-42e0-bddd-5d4ea8146197] | 26 | X-Request-Id: [182697a5-92aa-431d-9bd5-8e17a24c6ffc] |
27 | X-Runtime: ['0.024818'] | 27 | X-Runtime: ['0.039294'] |
28 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['158'] | 29 | content-length: ['157'] |
30 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
31 | - request: | 31 | - request: |
32 | body: null | 32 | body: null |
@@ -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: [251d35f6-96be-4e90-b776-14f8953abdc2] | 54 | X-Request-Id: [740dd74c-cf1d-47db-9da8-1572eadfd546] |
55 | X-Runtime: ['0.019851'] | 55 | X-Runtime: ['0.062684'] |
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: [e1b6b6be-10cf-4dfd-b3e9-a7ede9061c85] | 81 | X-Request-Id: [77cb9346-5db6-4f77-abd5-7781d238e6d5] |
82 | X-Runtime: ['0.015498'] | 82 | X-Runtime: ['0.032786'] |
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} |