From 5215c2242dd7b87418a7c10781c2b10b35d86f46 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 18:39:56 +0200 Subject: Fix some things in streaming and admin API for 3.3.0 support --- tests/cassettes/test_push_set.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests/cassettes/test_push_set.yaml') diff --git a/tests/cassettes/test_push_set.yaml b/tests/cassettes/test_push_set.yaml index a755930..dd3089e 100644 --- a/tests/cassettes/test_push_set.yaml +++ b/tests/cassettes/test_push_set.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BMjVye35rZTT2L1GD9MgHmGXdg%2FGaxlCNma9GlCihkt6pJuXn9nAKdl7Y03xs8GrLD1rSA0Gzdho0vDA59MvJ70%3D&subscription%5Bkeys%5D%5Bauth%5D=Q2SyMMjqYeGMFk%2B927dUNw%3D%3D + body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BMGJORRZ33ebUVNTfhh5ONpJiYo1Qq6k%2FIv21xcIFzbR25IC2q7AE7RLc4x%2Ba5Rix8nZtyJ2QqVuBj5ScKvZvGQ%3D&subscription%5Bkeys%5D%5Bauth%5D=y6Jq8wK%2F5bnDIGR40sENrw%3D%3D headers: Accept: - '*/*' @@ -11,7 +11,7 @@ interactions: Connection: - keep-alive Content-Length: - - '244' + - '246' Content-Type: - application/x-www-form-urlencoded User-Agent: @@ -20,14 +20,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' + string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-eO002YP5JciMtv+o4JBnAg==''; + style-src ''self'' http://localhost:3000 ''nonce-IWpo+b1yj3qq43HAmklp8w==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -37,7 +37,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"5510899b37d4881bab477f9fee26ee9b" + - W/"07d4ac937919cd871dc7bf1552440cdd" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -53,9 +53,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 1e4a2a5f-59b5-4925-9345-ad1d9e2a7a71 + - 095b046e-1a89-4d2c-8d0d-9af1c13fee60 X-Runtime: - - '0.021518' + - '0.019991' X-XSS-Protection: - 1; mode=block status: @@ -78,14 +78,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' + string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-23M5S3MHoY2Fq5/A8qUbMg==''; + style-src ''self'' http://localhost:3000 ''nonce-F8ntBeTNhe2yPZYi1hFWAQ==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"5510899b37d4881bab477f9fee26ee9b" + - W/"07d4ac937919cd871dc7bf1552440cdd" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -111,9 +111,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 62135e45-202d-43a7-b7dc-3c745cb43b33 + - 1fc1f34c-9edb-4647-a1b9-935865e14630 X-Runtime: - - '0.007405' + - '0.007914' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3