Hacker News new | past | comments | ask | show | jobs | submit login

To quibble further the request line typically wont have a "host" section. Its almost always a uri path/stem and the 1.1 client sends an additional Host header. The request line must also have the protocol and version, HTTP/1.0.

To quibble further still: the request line may have the protocol and version if the client is HTTP/1.0 or newer. HTTP/1.0 servers must "recognize the format of the Request-Line for HTTP/0.9 and HTTP/1.0 requests" (RFC 1945).

Although no one will give a fuck if you don't handle HTTP/0.9.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact