Repeated headers are not correctly sent when using a client #1743
Unanswered
allenhumphreys
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using
AsyncClientand attempting to pass repeated headers using the mulit-dict, the repeated header values are not retained.The above code will fail with
AssertionError: assert ['2'] == ['1', '2'].The problem seems tp stem from the implementation of
Headers.updatewhich will result in only the last value for a header key being applied.Beta Was this translation helpful? Give feedback.
All reactions