From c50a2482a5e39efe6be473aa0ea424fe0308cc47 Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Mon, 25 Nov 2024 11:45:30 +1300 Subject: [PATCH] Update protocol test --- .../protocol/suites/cases/rest-json-contenttype.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/protocol-tests-core/src/main/resources/software/amazon/awssdk/protocol/suites/cases/rest-json-contenttype.json b/test/protocol-tests-core/src/main/resources/software/amazon/awssdk/protocol/suites/cases/rest-json-contenttype.json index 7260c5743e6b..1833bb74f6fc 100644 --- a/test/protocol-tests-core/src/main/resources/software/amazon/awssdk/protocol/suites/cases/rest-json-contenttype.json +++ b/test/protocol-tests-core/src/main/resources/software/amazon/awssdk/protocol/suites/cases/rest-json-contenttype.json @@ -230,9 +230,11 @@ "uri": "/no-payload", "method": "GET", "headers": { + "contains": { + "Content-Length": "0" + }, "doesNotContain": [ - "Content-Type", - "Content-Length" + "Content-Type" ] }, "body": { @@ -258,11 +260,11 @@ "method": "GET", "headers": { "contains": { + "Content-Length": "0", "x-amz-test-id": "t-12345" }, "doesNotContain": [ - "Content-Type", - "Content-Length" + "Content-Type" ] }, "body": {