Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert EC2 Query Protocol empty list serialization #2269

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading