aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_push_set.yaml')
-rw-r--r--tests/cassettes/test_push_set.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/cassettes/test_push_set.yaml b/tests/cassettes/test_push_set.yaml
index 832440b..3731f1b 100644
--- a/tests/cassettes/test_push_set.yaml
+++ b/tests/cassettes/test_push_set.yaml
@@ -1,18 +1,18 @@
1interactions: 1interactions:
2- request: 2- request:
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 3 body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BEULnqcFEDblKe8UA020RLDfJgrbKRNhjLNHyIpZrIuHqGUyc19Vwnqcsx8SnRgZohm6TfL4x5Ciy3B3ciWufKU%3D&subscription%5Bkeys%5D%5Bauth%5D=l9dIA8OKQdRCXFlwvD%2Bvyw%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: ['252'] 9 Content-Length: ['242']
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":13,"endpoint":"https://example.com","alerts":{},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'} 15 body: {string: '{"id":43,"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: [f5239ae3-2270-4e8c-9a7f-a5e36391a80f] 26 X-Request-Id: [1489b773-d0dc-4a50-8b28-5dc043773334]
27 X-Runtime: ['0.036557'] 27 X-Runtime: ['0.023225']
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}
@@ -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":13,"endpoint":"https://example.com","alerts":{},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'} 42 body: {string: '{"id":43,"endpoint":"https://example.com","alerts":{},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'}
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,8 +50,8 @@ 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: [2edefc6b-f7af-438e-afd6-4c4e1ef14cbf] 53 X-Request-Id: [d26b4ab2-1546-4ceb-b412-cdbf7c910cb3]
54 X-Runtime: ['0.015058'] 54 X-Runtime: ['0.024275']
55 X-XSS-Protection: [1; mode=block] 55 X-XSS-Protection: [1; mode=block]
56 content-length: ['158'] 56 content-length: ['158']
57 status: {code: 200, message: OK} 57 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)