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

socket.headers.canonic: use dynamic canonization instead of limited set of predefined values #442

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnd0e
Copy link

@johnd0e johnd0e commented Oct 20, 2024

Fix #440

@johnd0e
Copy link
Author

johnd0e commented Oct 20, 2024

Note: I would rather use "%f[^-]%l", but it doesn't match the beginning of the string.

To be even perfecter we could include other theoretically possible chars besides %w, but the RFC is not clear for me here https://www.rfc-editor.org/rfc/rfc7230#section-3.2

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

Successfully merging this pull request may close these issues.

Canonic header field capitalization does not work with all existing headers titles out of the box
1 participant