diff --git a/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy b/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy index 46eeafd0b36..78fd9c909f1 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy @@ -424,11 +424,15 @@ operation NullAndEmptyHeadersClient { apply NullAndEmptyHeadersClient @httpRequestTests([ { id: "RestJsonNullAndEmptyHeaders", - documentation: "Do not send null values, empty strings, or empty lists over the wire in headers", + documentation: "Do not send null values, but do send empty strings and empty lists over the wire in headers", protocol: restJson1, method: "GET", uri: "/NullAndEmptyHeadersClient", - forbidHeaders: ["X-A", "X-B", "X-C"], + forbidHeaders: ["X-A"], + headers: { + "X-B": "" + "X-C": "" + } body: "", params: { a: null, diff --git a/smithy-aws-protocol-tests/model/restXml/http-headers.smithy b/smithy-aws-protocol-tests/model/restXml/http-headers.smithy index fb61681f5d9..2bf49ffc933 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-headers.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-headers.smithy @@ -367,11 +367,15 @@ operation NullAndEmptyHeadersClient { apply NullAndEmptyHeadersClient @httpRequestTests([ { id: "NullAndEmptyHeaders", - documentation: "Do not send null values, empty strings, or empty lists over the wire in headers", + documentation: "Do not send null values, but do send empty strings and empty lists over the wire in headers", protocol: restXml, method: "GET", uri: "/NullAndEmptyHeadersClient", - forbidHeaders: ["X-A", "X-B", "X-C"], + forbidHeaders: ["X-A"], + headers: { + "X-B": "" + "X-C": "" + } body: "", params: { a: null,