Skip to content

Commit 869ca9e

Browse files
david-perezjdisanti
authored andcommitted
[autosync] Generate httpMalformedRequestTests (#1213)
Smithy defines one trait specifically for the behavior of server protocol implementations. From https://awslabs.github.io/smithy/1.0/spec/http-protocol-compliance-tests.html#httpmalformedrequesttests: > The `httpMalformedRequestTests` trait is used to define how a malformed > HTTP request is rejected given a specific protocol and HTTP message. > Protocol implementations MUST assert that requests are rejected during > request processing. This commit implements code generation for these tests. The ones for the restJson1 protocol have been added to the list of failing tests. These should begin passing once we start implementing constraint traits https://awslabs.github.io/smithy/1.0/spec/core/constraint-traits.html
1 parent de568f3 commit 869ca9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.smithyrs-githash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b989a8d0592da5b1d3227e0d359c46a3d9fa2877
1+
ee795687770cb622d44bce0f6f53d78045e9473b

0 commit comments

Comments
 (0)