Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-105622: Parse HTTP headers with default email policy #105918

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

michaelfm1211
Copy link

@michaelfm1211 michaelfm1211 commented Jun 19, 2023

Updates http.client._parse_header_lines to use email.policy.default when parsing HTTP headers. An email policy should always be specified and allows the http module to use email's header registry.


📚 Documentation preview 📚: https://cpython-previews--105918.org.readthedocs.build/

Updates http.client._parse_header_lines to use email.policy.default when
parsing HTTP headers. An email policy should always be specified and
allows the http module to use email's header registry.
@arhadthedev
Copy link
Member

@vstinner, probably?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants