pukkandan 2 years ago
parent 24e3d87431
commit 76aa991374
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -5489,4 +5489,4 @@ has_websockets = bool(compat_websockets)
def merge_headers(*dicts):
"""Merge dicts of http headers case insensitively, prioritizing the latter ones"""
return {k.capitalize(): v for k, v in itertools.chain.from_iterable(map(dict.items, dicts))}
return {k.title(): v for k, v in itertools.chain.from_iterable(map(dict.items, dicts))}

Loading…
Cancel
Save