aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_push_delete.yaml')
-rw-r--r--tests/cassettes/test_push_delete.yaml26
1 files changed, 12 insertions, 14 deletions
diff --git a/tests/cassettes/test_push_delete.yaml b/tests/cassettes/test_push_delete.yaml
index 067133f..fa4fbf3 100644
--- a/tests/cassettes/test_push_delete.yaml
+++ b/tests/cassettes/test_push_delete.yaml
@@ -1,22 +1,21 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BGMv%2B5m87DcpVVfX5eH7KmzEwXJ5UAa%2Ff1nF%2B%2Fv66hSvSXvZpn%2F%2B%2BhzO04aUl02HU9%2BYVpKva6BU98Jl%2FKI4vS8%3D&subscription%5Bkeys%5D%5Bauth%5D=jDUsUy5uNe95eCL47tlaCg%3D%3D 3 body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BMlrkErTM2M6bNEzb8k9wGH2nlmDbBn%2Fl7%2BZ0gCzWUYpP817a9NPt7OWTgNe7jrGEAOIfbFPLT0n94jvypNC0vE%3D&subscription%5Bkeys%5D%5Bauth%5D=fQmT60SBddqRsYrmSyNKcw%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: ['258'] 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":9,"endpoint":"https://example.com","alerts":{},"server_key":"BP3YHleCxMqxCT6NGjNfl8rRj9BVI9ZGr3xLNzK53Uf0AcMo2VUFgAtdwQBfGofTb48sImPX-LRHTZgmZACu8A0="}'} 15 body: {string: '{"id":3,"endpoint":"https://example.com","alerts":{},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'}
16 headers: 16 headers:
17 Cache-Control: ['max-age=0, private, must-revalidate'] 17 Cache-Control: ['no-cache, no-store']
18 Content-Type: [application/json; charset=utf-8] 18 Content-Type: [application/json; charset=utf-8]
19 ETag: [W/"de21d3cb4400db6d36395f999819a89e"]
20 Referrer-Policy: [strict-origin-when-cross-origin] 19 Referrer-Policy: [strict-origin-when-cross-origin]
21 Transfer-Encoding: [chunked] 20 Transfer-Encoding: [chunked]
22 Vary: ['Accept-Encoding, Origin'] 21 Vary: ['Accept-Encoding, Origin']
@@ -24,8 +23,8 @@ interactions:
24 X-Download-Options: [noopen] 23 X-Download-Options: [noopen]
25 X-Frame-Options: [SAMEORIGIN] 24 X-Frame-Options: [SAMEORIGIN]
26 X-Permitted-Cross-Domain-Policies: [none] 25 X-Permitted-Cross-Domain-Policies: [none]
27 X-Request-Id: [724a903c-1a69-45fa-ad33-64d9c67f6e2c] 26 X-Request-Id: [c84a6c62-4994-4912-b969-b11a6e631950]
28 X-Runtime: ['0.021919'] 27 X-Runtime: ['0.027850']
29 X-XSS-Protection: [1; mode=block] 28 X-XSS-Protection: [1; mode=block]
30 content-length: ['157'] 29 content-length: ['157']
31 status: {code: 200, message: OK} 30 status: {code: 200, message: OK}
@@ -43,9 +42,8 @@ interactions:
43 response: 42 response:
44 body: {string: '{}'} 43 body: {string: '{}'}
45 headers: 44 headers:
46 Cache-Control: ['max-age=0, private, must-revalidate'] 45 Cache-Control: ['no-cache, no-store']
47 Content-Type: [application/json; charset=utf-8] 46 Content-Type: [application/json; charset=utf-8]
48 ETag: [W/"3984996bab8ee0ed3859819e7e795ba4"]
49 Referrer-Policy: [strict-origin-when-cross-origin] 47 Referrer-Policy: [strict-origin-when-cross-origin]
50 Transfer-Encoding: [chunked] 48 Transfer-Encoding: [chunked]
51 Vary: ['Accept-Encoding, Origin'] 49 Vary: ['Accept-Encoding, Origin']
@@ -53,8 +51,8 @@ interactions:
53 X-Download-Options: [noopen] 51 X-Download-Options: [noopen]
54 X-Frame-Options: [SAMEORIGIN] 52 X-Frame-Options: [SAMEORIGIN]
55 X-Permitted-Cross-Domain-Policies: [none] 53 X-Permitted-Cross-Domain-Policies: [none]
56 X-Request-Id: [07afa25a-0ba2-4375-b540-0e8f835403e0] 54 X-Request-Id: [d916def9-70dc-4cc9-b4cb-d58ec7ba3c2b]
57 X-Runtime: ['0.023131'] 55 X-Runtime: ['0.026985']
58 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
59 content-length: ['2'] 57 content-length: ['2']
60 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
@@ -71,7 +69,7 @@ interactions:
71 response: 69 response:
72 body: {string: '{"error":"Record not found"}'} 70 body: {string: '{"error":"Record not found"}'}
73 headers: 71 headers:
74 Cache-Control: [no-cache] 72 Cache-Control: ['no-cache, no-store']
75 Content-Type: [application/json; charset=utf-8] 73 Content-Type: [application/json; charset=utf-8]
76 Referrer-Policy: [strict-origin-when-cross-origin] 74 Referrer-Policy: [strict-origin-when-cross-origin]
77 Transfer-Encoding: [chunked] 75 Transfer-Encoding: [chunked]
@@ -80,8 +78,8 @@ interactions:
80 X-Download-Options: [noopen] 78 X-Download-Options: [noopen]
81 X-Frame-Options: [SAMEORIGIN] 79 X-Frame-Options: [SAMEORIGIN]
82 X-Permitted-Cross-Domain-Policies: [none] 80 X-Permitted-Cross-Domain-Policies: [none]
83 X-Request-Id: [93cd157c-214e-40cb-82f5-c732c9894882] 81 X-Request-Id: [9abe8dd7-e3d2-453f-9050-c40e8847ac69]
84 X-Runtime: ['0.013631'] 82 X-Runtime: ['0.014339']
85 X-XSS-Protection: [1; mode=block] 83 X-XSS-Protection: [1; mode=block]
86 content-length: ['28'] 84 content-length: ['28']
87 status: {code: 404, message: Not Found} 85 status: {code: 404, message: Not Found}
Powered by cgit v1.2.3 (git 2.41.0)