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 parsing responses with no CRs #96

Merged
merged 2 commits into from
May 10, 2021

Conversation

sfackler
Copy link
Contributor

@sfackler sfackler commented May 8, 2021

The status code would previously be folded into the first header name.

@sfackler sfackler force-pushed the fix-no-cr-response branch from 0e71052 to 7370673 Compare May 8, 2021 13:51
tests/uri.rs Outdated Show resolved Hide resolved
@seanmonstar seanmonstar merged commit c0631f2 into seanmonstar:master May 10, 2021
Soveu added a commit to Soveu/httparse that referenced this pull request May 11, 2021
BenxiangGe pushed a commit to BenxiangGe/httparse that referenced this pull request Jul 26, 2021
…eanmonstar#96)

Previously, parsing `HTTP/1.1 200\nfoo: bar` would incorrectly parse `200\nfoo` as a header name.
@sfackler sfackler deleted the fix-no-cr-response branch July 14, 2022 00:43
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