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

Fix HTTP header parse for space #158

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Fix HTTP header parse for space #158

merged 1 commit into from
Jul 20, 2023

Conversation

beef9999
Copy link
Collaborator

@beef9999 beef9999 commented Jul 17, 2023

HTTP protocol said that the spaces before each header's value should be ignored.

Even though most HTTP client will format the header as KEY: VALUE, but there are still some clients who didn't add the space.

The previous implementation has a bug when processing KEY:VALUE.

@Coldwings Coldwings merged commit 378bc34 into alibaba:main Jul 20, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants