aws / aws-sdk-js

AWS SDK for JavaScript in the browser and Node.js (In Maintenance Mode, End-of-Life on 09/08/2025). The AWS SDK for JavaScript v3 in the browser and Node.js is available here: https://github.com/aws/aws-sdk-js-v3
https://aws.amazon.com/developer/language/javascript/
Apache License 2.0
7.6k stars 1.55k forks source link

test: protocol test for serializing lists of values in headers #4643

Closed trivikr closed 5 months ago

trivikr commented 5 months ago

Refs: CR-60315416

Checklist
trivikr commented 5 months ago

CI fails with error:

AWS protocol support rest-xml input Header map with list values case1:
--
345 | AssertionError: expected [ 'a', 'b', 'c' ] to deeply equal 'a,b,c'
346 | at inputCase (test/protocol/protocol.spec.js:126:60)
347 | at Context.<anonymous> (test/protocol/protocol.spec.js:70:26)
348 | at processImmediate (internal/timers.js:461:21)
349 | at process.topLevelDomainCallback (domain.js:138:15)
350 | at process.callbackTrampoline (internal/async_hooks.js:124:14)
trivikr commented 5 months ago

Closing since smithy trait httpPrefixHeaders does not accept list of values. It's not present in protocol test too.