From 787a3c214f6fbc171fb538ebe8ee6344d9bc0d40 Mon Sep 17 00:00:00 2001 From: Bryan Moffatt Date: Sun, 23 Apr 2023 14:59:00 -0700 Subject: [PATCH] base64 decode branch coverage --- ...-url-domain-only-request-with-base64-encoded-body.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lambdaurl/testdata/function-url-domain-only-request-with-base64-encoded-body.json b/lambdaurl/testdata/function-url-domain-only-request-with-base64-encoded-body.json index e5ef77ca..121b7b56 100644 --- a/lambdaurl/testdata/function-url-domain-only-request-with-base64-encoded-body.json +++ b/lambdaurl/testdata/function-url-domain-only-request-with-base64-encoded-body.json @@ -1,10 +1,10 @@ { - "body": "", + "body": "PGlkay8+", "headers": { - "accept": "application/xml", + "accept": "*/*", "accept-encoding": "gzip, deflate", "content-length": "6", - "content-type": "application/json", + "content-type": "idk", "host": "lambda-url-id.lambda-url.us-west-2.on.aws", "user-agent": "python-requests/2.28.2", "x-amz-content-sha256": "0ab2082273499eaa495f2196e32d8c794745e58a20a0c93182c59d2165432839", @@ -17,7 +17,7 @@ "x-forwarded-port": "443", "x-forwarded-proto": "https" }, - "isBase64Encoded": false, + "isBase64Encoded": true, "rawPath": "/", "rawQueryString": "", "requestContext": {