aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_push_delete.yaml')
-rw-r--r--tests/cassettes/test_push_delete.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/cassettes/test_push_delete.yaml b/tests/cassettes/test_push_delete.yaml
index 18342c6..067133f 100644
--- a/tests/cassettes/test_push_delete.yaml
+++ b/tests/cassettes/test_push_delete.yaml
@@ -1,22 +1,22 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BOy%2BkCX9w1ntVvdRRRpyV4JNUw2cVpRkfi8WS1z3McvgDujbY9YICQV1kD3%2BuTu4GT1e2XNCFSSvF1RIDpZB8Ro%3D&subscription%5Bkeys%5D%5Bauth%5D=KKrv91gEAZ3DYZk0uGn%2BIw%3D%3D 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
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: ['246'] 9 Content-Length: ['258']
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":"BFUzywftzA81kLihlpi_bTniTwxuGp_D2gX9CHRq4qJQJgsKQUFyc8juKZ-fHMR6YxnA1A1qhgVvMTChH21CMhY="}'} 15 body: {string: '{"id":9,"endpoint":"https://example.com","alerts":{},"server_key":"BP3YHleCxMqxCT6NGjNfl8rRj9BVI9ZGr3xLNzK53Uf0AcMo2VUFgAtdwQBfGofTb48sImPX-LRHTZgmZACu8A0="}'}
16 headers: 16 headers:
17 Cache-Control: ['max-age=0, private, must-revalidate'] 17 Cache-Control: ['max-age=0, private, must-revalidate']
18 Content-Type: [application/json; charset=utf-8] 18 Content-Type: [application/json; charset=utf-8]
19 ETag: [W/"9bc9f474e2e4e8007f104cef3870d96f"] 19 ETag: [W/"de21d3cb4400db6d36395f999819a89e"]
20 Referrer-Policy: [strict-origin-when-cross-origin] 20 Referrer-Policy: [strict-origin-when-cross-origin]
21 Transfer-Encoding: [chunked] 21 Transfer-Encoding: [chunked]
22 Vary: ['Accept-Encoding, Origin'] 22 Vary: ['Accept-Encoding, Origin']
@@ -24,8 +24,8 @@ interactions:
24 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
25 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
26 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
27 X-Request-Id: [ef780356-1392-42a2-b19f-9fb040b97b17] 27 X-Request-Id: [724a903c-1a69-45fa-ad33-64d9c67f6e2c]
28 X-Runtime: ['0.029904'] 28 X-Runtime: ['0.021919']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['157'] 30 content-length: ['157']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
@@ -45,7 +45,7 @@ interactions:
45 headers: 45 headers:
46 Cache-Control: ['max-age=0, private, must-revalidate'] 46 Cache-Control: ['max-age=0, private, must-revalidate']
47 Content-Type: [application/json; charset=utf-8] 47 Content-Type: [application/json; charset=utf-8]
48 ETag: [W/"189d0d77b93465d891619d50fe217a85"] 48 ETag: [W/"3984996bab8ee0ed3859819e7e795ba4"]
49 Referrer-Policy: [strict-origin-when-cross-origin] 49 Referrer-Policy: [strict-origin-when-cross-origin]
50 Transfer-Encoding: [chunked] 50 Transfer-Encoding: [chunked]
51 Vary: ['Accept-Encoding, Origin'] 51 Vary: ['Accept-Encoding, Origin']
@@ -53,8 +53,8 @@ interactions:
53 X-Download-Options: [noopen] 53 X-Download-Options: [noopen]
54 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
55 X-Permitted-Cross-Domain-Policies: [none] 55 X-Permitted-Cross-Domain-Policies: [none]
56 X-Request-Id: [9f21bb4c-d900-4025-a979-9c07ccbd363e] 56 X-Request-Id: [07afa25a-0ba2-4375-b540-0e8f835403e0]
57 X-Runtime: ['0.045305'] 57 X-Runtime: ['0.023131']
58 X-XSS-Protection: [1; mode=block] 58 X-XSS-Protection: [1; mode=block]
59 content-length: ['2'] 59 content-length: ['2']
60 status: {code: 200, message: OK} 60 status: {code: 200, message: OK}
@@ -80,8 +80,8 @@ interactions:
80 X-Download-Options: [noopen] 80 X-Download-Options: [noopen]
81 X-Frame-Options: [SAMEORIGIN] 81 X-Frame-Options: [SAMEORIGIN]
82 X-Permitted-Cross-Domain-Policies: [none] 82 X-Permitted-Cross-Domain-Policies: [none]
83 X-Request-Id: [732fe4f5-edb1-45b8-9e3b-e439628bcac0] 83 X-Request-Id: [93cd157c-214e-40cb-82f5-c732c9894882]
84 X-Runtime: ['0.021938'] 84 X-Runtime: ['0.013631']
85 X-XSS-Protection: [1; mode=block] 85 X-XSS-Protection: [1; mode=block]
86 content-length: ['28'] 86 content-length: ['28']
87 status: {code: 404, message: Not Found} 87 status: {code: 404, message: Not Found}
Powered by cgit v1.2.3 (git 2.41.0)