HTTP: A Closer Look
Sample HTTP Request Header
- Although the book only discusses the request-line, if only the absolute path is give, the request line is supposed to be followed by a header line naming the host.
- So if the host is puka.hawaii.edu, the request-line and header would be (where CRLF is carriage return followed by line feed):
GET /report1/home.htm HTTP/1.1[CRLF]
Host:puka.hawaii.edu[CRLF]