Should HTTPResponseTests include a Content-Length assertion? #1255
Labels
protocol-test
New protocol tests are needed
server
This issue involves the specification for server software.
In many of the
HttpRequestTests
there includes ahttps://github.com/awslabs/smithy/blob/d654ab1d4ef8eeb1e89fec72028b9a2b456ec347/smithy-aws-protocol-tests/model/awsJson1_1/documents.smithy#L36-L38
asserting the existence of a
Content-Length
header.Should such an assertion exist for
HttpResponseTests
too?https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2
seems to suggest that including a
Content-Length
header is recommended (but not required) for both clients and servers.The text was updated successfully, but these errors were encountered: