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

HTTP field names are case-insensitive #11

Open
vinniefalco opened this issue May 31, 2018 · 2 comments
Open

HTTP field names are case-insensitive #11

vinniefalco opened this issue May 31, 2018 · 2 comments

Comments

@vinniefalco
Copy link

For example "Content-Length". Comparisons should be case-insensitive:

[](const header &h) { return h.name == "content-length" ; }

@venediktov
Copy link
Owner

sounds good ! Will fix it with case_ignore_compare()

@venediktov
Copy link
Owner

Aah, I remember now @abushev fixed that problem by converting all headers to lowercase

lower case header conversion

@abushev We may need to add a comment , as it's hidden upstream ?

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

No branches or pull requests

2 participants