Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop casting request headers to HTTPHeaderDict (#3344)
While this was done to fix a mypy error, we did not notice the consequences: * This breaks boto3 that subclasses HTTPConnection because HTTPHeaderDict does not support bytes values yet. * When proxying, headers are still a dictionary by default. We can decide to reintroduce a forced conversion to HTTPHeaderDict in urllib3 3.0 if the above issues are fixed.
- Loading branch information