[cs631apue] do we accept empty lines before formal request line?

Minhui Gu mgu1 at stevens.edu
Sun Nov 24 16:06:05 EST 2013


If we receive \r\n\r\nGET / HTTP/1.0\r\n ...,
should we reply 400 or take it as a valid request?

I am curious about this since RFC says the request should start with the
method, but it works in telnet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20131124/5ebf8ba4/attachment.html>


More information about the cs631apue mailing list