Open askvortsov1 opened 4 months ago
I guess i can check this out in my free time
@askvortsov1 can you list some kinda malformed headers for reference?
The request/status line and headers must all end with <CR><LF> (that is, a [carriage return](https://en.wikipedia.org/wiki/Carriage_return) followed by a [line feed](https://en.wikipedia.org/wiki/Line_feed)). The empty line must consist of only <CR><LF> and no other [whitespace](https://en.wikipedia.org/wiki/Whitespace_(computer_science)).
I got this in wiki and few more places(which referenced RFCs. I guess i will go with this as the standard
The header parsing implementation returns early if it encounters a malformed header. It doesn't communicate any error info to the caller, and presumably the unparsed lines are interpreted as part of the body.