-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Should Line Folding get replaced by spaces? #68
Comments
Yes, it "should" handle line folds. I've purposefully left it out for a few reasons:
|
I've encountered this problem while working on a WARC parser, where that format specifies definitions compatible with RFC2616. There's a WARC proposal to forbid implementers of a future version from writing folded lines, but readers would still need to be able to handle the old version for backwards compatibility. I appreciate the complexity of supporting some of the weird corners of header syntax, but it's a shame if |
Noticed this in RFC-7230:
I think currently httparse will just reject a line fold. This paragraph seems to suggest it should reinterpret it with spaces. Is this interpretation correct?
I am running into this problem (and an invalid SOH character) with an internal server.
Thanks.
The text was updated successfully, but these errors were encountered: