We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The protocol test RestJsonInputAndOutputWithStringHeaders was using space as a separator for headers with list values. https://github.com/awslabs/smithy/blob/78a3ac958ea442695cf66ad0f5808768e1f553bf/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy#L31-L48
RestJsonInputAndOutputWithStringHeaders
headerStringList: ["a", "b", "c"],
"X-StringList": "a, b, c",
The new protocol test for quoted strings RestJsonInputAndOutputWithQuotedStringHeaders removes this separator https://github.com/awslabs/smithy/blob/78a3ac958ea442695cf66ad0f5808768e1f553bf/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy#L49-L63
RestJsonInputAndOutputWithQuotedStringHeaders
headerStringList: ["b,c", "\"def\"", "a"]
"X-StringList": """ "b,c","\"def\"",a"""
If the whitespace separator needs to be used, the output should be:
"X-StringList": """ "b,c", "\"def\"", a"""
What separator should be used in case of headers with list values?
The text was updated successfully, but these errors were encountered:
This was fixed in #1049
Sorry, something went wrong.
No branches or pull requests
RestJsonInputAndOutputWithStringHeaders
The protocol test
RestJsonInputAndOutputWithStringHeaders
was using space as a separator for headers with list values.https://github.com/awslabs/smithy/blob/78a3ac958ea442695cf66ad0f5808768e1f553bf/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy#L31-L48
headerStringList: ["a", "b", "c"],
"X-StringList": "a, b, c",
RestJsonInputAndOutputWithQuotedStringHeaders
The new protocol test for quoted strings
RestJsonInputAndOutputWithQuotedStringHeaders
removes this separatorhttps://github.com/awslabs/smithy/blob/78a3ac958ea442695cf66ad0f5808768e1f553bf/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy#L49-L63
headerStringList: ["b,c", "\"def\"", "a"]
If the whitespace separator needs to be used, the output should be:
Question
What separator should be used in case of headers with list values?
Additional Context
The text was updated successfully, but these errors were encountered: