You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this was actually talking about the inconsistent spacing accompanying the delimiter , vs ,, and not the fixed issue which was the ordering of the values.
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: