Skip to content

Commit

Permalink
Revert EC2 Query Protocol empty list serialization (smithy-lang#2269)
Browse files Browse the repository at this point in the history
  • Loading branch information
syall authored May 1, 2024
1 parent 1805e51 commit cbf76e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions smithy-aws-protocol-tests/model/ec2Query/input-lists.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,16 @@ apply QueryLists @httpRequestTests([
},
{
id: "Ec2EmptyQueryLists",
documentation: "Serializes empty query lists",
// Empty lists are NOT serialized for the EC2 query protocol, which differs from the AWS query protocol.
// See "EmptyQueryLists" for the AWS query protocol equivalent test case.
documentation: "Does not serialize empty query lists.",
protocol: ec2Query,
method: "POST",
uri: "/",
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: "Action=QueryLists&Version=2020-01-08&ListArg=",
body: "Action=QueryLists&Version=2020-01-08",
bodyMediaType: "application/x-www-form-urlencoded",
params: {
ListArg: []
Expand Down

0 comments on commit cbf76e2

Please sign in to comment.