diff options
Diffstat (limited to 'tests/cassettes/test_push_set.yaml')
-rw-r--r-- | tests/cassettes/test_push_set.yaml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/cassettes/test_push_set.yaml b/tests/cassettes/test_push_set.yaml index 264098a..4ee9a80 100644 --- a/tests/cassettes/test_push_set.yaml +++ b/tests/cassettes/test_push_set.yaml | |||
@@ -1,6 +1,6 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BCYAa2ys6OCBSNDrKejYn8lAmNkc%2FimO%2B5qdS3KqWUJmL3qpJgdNv%2Bd%2BJ1JHPnwFQBhKGvVRx5Xkz74b8dhX1Hc%3D&subscription%5Bkeys%5D%5Bauth%5D=AM%2FiiY58o8UvBlhH%2BxsikQ%3D%3D&policy=none&data%5Balerts%5D%5Bfollow%5D=1&data%5Balerts%5D%5Bfavourite%5D=1&data%5Balerts%5D%5Breblog%5D=1&data%5Balerts%5D%5Bmention%5D=1&data%5Balerts%5D%5Bpoll%5D=1&data%5Balerts%5D%5Bfollow_request%5D=1&data%5Balerts%5D%5Bstatus%5D=1 | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BKMIsjZXmtxL0PTJQ3zuB1XXjf8a5omiN0te%2BZPqyZFjvCfrdly6gua3LtrvFfDL4MFLu%2BgNhhj9HULZ9t3ueIA%3D&subscription%5Bkeys%5D%5Bauth%5D=aD8HXmoqFcPkajoUm6vTVQ%3D%3D&policy=none&data%5Balerts%5D%5Bfollow%5D=1&data%5Balerts%5D%5Bfavourite%5D=1&data%5Balerts%5D%5Breblog%5D=1&data%5Balerts%5D%5Bmention%5D=1&data%5Balerts%5D%5Bpoll%5D=1&data%5Balerts%5D%5Bfollow_request%5D=1&data%5Balerts%5D%5Bstatus%5D=1 |
4 | headers: | 4 | headers: |
5 | Accept: | 5 | Accept: |
6 | - '*/*' | 6 | - '*/*' |
@@ -11,7 +11,7 @@ interactions: | |||
11 | Connection: | 11 | Connection: |
12 | - keep-alive | 12 | - keep-alive |
13 | Content-Length: | 13 | Content-Length: |
14 | - '491' | 14 | - '483' |
15 | Content-Type: | 15 | Content-Type: |
16 | - application/x-www-form-urlencoded | 16 | - application/x-www-form-urlencoded |
17 | User-Agent: | 17 | User-Agent: |
@@ -20,14 +20,14 @@ interactions: | |||
20 | uri: http://localhost:3000/api/v1/push/subscription | 20 | uri: http://localhost:3000/api/v1/push/subscription |
21 | response: | 21 | response: |
22 | body: | 22 | body: |
23 | string: '{"id":1,"endpoint":"https://example.com","alerts":{"mention":true,"status":true,"reblog":true,"follow":true,"follow_request":true,"favourite":true,"poll":true},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' | 23 | string: '{"id":1,"endpoint":"https://example.com","alerts":{"mention":true,"status":true,"reblog":true,"follow":true,"follow_request":true,"favourite":true,"poll":true},"server_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}' |
24 | headers: | 24 | headers: |
25 | Cache-Control: | 25 | Cache-Control: |
26 | - no-store | 26 | - no-store |
27 | Content-Security-Policy: | 27 | Content-Security-Policy: |
28 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 28 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
29 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 29 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
30 | style-src ''self'' http://localhost:3000 ''nonce-tTvUGRDqbGkcfXPWY0IvGA==''; | 30 | style-src ''self'' http://localhost:3000 ''nonce-Ap95t/qy2C321rOLki8caw==''; |
31 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 31 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
32 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 32 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
33 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 33 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -37,7 +37,7 @@ interactions: | |||
37 | Content-Type: | 37 | Content-Type: |
38 | - application/json; charset=utf-8 | 38 | - application/json; charset=utf-8 |
39 | ETag: | 39 | ETag: |
40 | - W/"f9bd977aa2be722065d808b22eec20c8" | 40 | - W/"275d92fa6b5cc59bc33664723612093d" |
41 | Referrer-Policy: | 41 | Referrer-Policy: |
42 | - strict-origin-when-cross-origin | 42 | - strict-origin-when-cross-origin |
43 | Transfer-Encoding: | 43 | Transfer-Encoding: |
@@ -53,9 +53,9 @@ interactions: | |||
53 | X-Permitted-Cross-Domain-Policies: | 53 | X-Permitted-Cross-Domain-Policies: |
54 | - none | 54 | - none |
55 | X-Request-Id: | 55 | X-Request-Id: |
56 | - 546bdc29-90f9-49d7-b1a8-74e2fe0a43a6 | 56 | - ccbc18f3-c009-4d38-bfb3-7d0304330d74 |
57 | X-Runtime: | 57 | X-Runtime: |
58 | - '0.018887' | 58 | - '0.018937' |
59 | X-XSS-Protection: | 59 | X-XSS-Protection: |
60 | - 1; mode=block | 60 | - 1; mode=block |
61 | status: | 61 | status: |
@@ -78,14 +78,14 @@ interactions: | |||
78 | uri: http://localhost:3000/api/v1/push/subscription | 78 | uri: http://localhost:3000/api/v1/push/subscription |
79 | response: | 79 | response: |
80 | body: | 80 | body: |
81 | string: '{"id":1,"endpoint":"https://example.com","alerts":{"mention":true,"status":true,"reblog":true,"follow":true,"follow_request":true,"favourite":true,"poll":true},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' | 81 | string: '{"id":1,"endpoint":"https://example.com","alerts":{"mention":true,"status":true,"reblog":true,"follow":true,"follow_request":true,"favourite":true,"poll":true},"server_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}' |
82 | headers: | 82 | headers: |
83 | Cache-Control: | 83 | Cache-Control: |
84 | - no-store | 84 | - no-store |
85 | Content-Security-Policy: | 85 | Content-Security-Policy: |
86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
88 | style-src ''self'' http://localhost:3000 ''nonce-A81lAm5muAAx1EqJMgC4xw==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-bU+grKbDYqRGTvbb/E3JFw==''; |
89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -95,7 +95,7 @@ interactions: | |||
95 | Content-Type: | 95 | Content-Type: |
96 | - application/json; charset=utf-8 | 96 | - application/json; charset=utf-8 |
97 | ETag: | 97 | ETag: |
98 | - W/"f9bd977aa2be722065d808b22eec20c8" | 98 | - W/"275d92fa6b5cc59bc33664723612093d" |
99 | Referrer-Policy: | 99 | Referrer-Policy: |
100 | - strict-origin-when-cross-origin | 100 | - strict-origin-when-cross-origin |
101 | Transfer-Encoding: | 101 | Transfer-Encoding: |
@@ -111,9 +111,9 @@ interactions: | |||
111 | X-Permitted-Cross-Domain-Policies: | 111 | X-Permitted-Cross-Domain-Policies: |
112 | - none | 112 | - none |
113 | X-Request-Id: | 113 | X-Request-Id: |
114 | - eb528b24-b3dc-4f92-b983-5e25e93c32b1 | 114 | - 1fa8e8e3-a0dc-487d-9650-14fc57140525 |
115 | X-Runtime: | 115 | X-Runtime: |
116 | - '0.008184' | 116 | - '0.008355' |
117 | X-XSS-Protection: | 117 | X-XSS-Protection: |
118 | - 1; mode=block | 118 | - 1; mode=block |
119 | status: | 119 | status: |