What is the server behavior for routing based on query strings when multiple values appear for the same query key parameter? #1070
Labels
guidance
Question that needs advice or information.
protocol-test
New protocol tests are needed
server
This issue involves the specification for server software.
The docs don't specify a behavior. Relevant section in the docs: https://awslabs.github.io/smithy/1.0/spec/core/http-traits.html#query-string-literals
There are also no protocol tests.
An example. Consider two routes with URI request patterns:
/path?fooKey=bar
/path?fooKey=baz
And we receive an HTTP request with URI
http://yourhost/path?fooKey=bar&fooKey=baz
. Where should we route it to?Note that currently this scenario is accepted by Smithy i.e. this minimal model builds fine:
The text was updated successfully, but these errors were encountered: