What should we do with an httpHeader
-bound shape if an HTTP message contains multiple header values for the same header name?
#1230
Labels
documentation
This is a problem with documentation.
guidance
Question that needs advice or information.
We receive an HTTP message with:
In the case of a response, what should a client set
header
to?Value1
orValue2
? The Rust client yields an error upon response parsing:https://github.com/awslabs/smithy-rs/blob/6fe28ceeeed94f2da792bf7964a6b8a7c8dbf47d/codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/http/HttpBindingGenerator.kt#L382
In the case of a request, what should a server set
header
to? Should it reject the request?The spec does not say. I'm also not sure if there are protocol tests covering this.
The text was updated successfully, but these errors were encountered: