From bb2552a6ccbbccfc9f7b879b255376f0e34b7011 Mon Sep 17 00:00:00 2001 From: Adam Thomas Date: Thu, 20 Jun 2024 18:42:40 -0700 Subject: [PATCH] Add param to RestJsonHttpWithEmptyBlobPayload Content-Type is bound to the contentType member, so if it is expected as a header, it should also be set as a param of the input. --- .../model/restJson1/http-content-type.smithy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smithy-aws-protocol-tests/model/restJson1/http-content-type.smithy b/smithy-aws-protocol-tests/model/restJson1/http-content-type.smithy index 0f8d286258a..19fef8d91bf 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-content-type.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-content-type.smithy @@ -196,7 +196,9 @@ apply TestPayloadBlob @httpRequestTests([ headers: { "Content-Type": "application/octet-stream" }, - params: {} + params: { + contentType: "application/octet-stream" + } } ])