You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Jones, Kevin" <ke...@develop.com> on 2001/04/30 12:43:38 UTC

HTTP/1.1 Request lacking Host Header

According to the HTTP/1.1 RFC (section 14.23) all HTTP/1.1 requests MUST
contain a Host header, and all HTTP/1.1 severs MUST respond with a 400 if
the Host header is missing from an HTTP/1.1 request.

Tomcat 4.0b3 responds with a '200 OK HTTP/1.1' response if I send a the
following

GET /index.html HTTP/1.1

with no Host: header,

Kevin Jones
DevelopMentor
www.develop.com