(a)
GET /index.html HTTP/1.1
Accept: text/html
Accept: image/gif
User-Agent:  Lynx/2.2
Host: www.myhost.mydomain
(* blank line *)

(b)
HTTP/1.1 200 OK
Server: NCSA/1.3
MIME-Version: 1.0
Content-Type: text/html
(* blank line *)
<HTML><HEAD><TITLE>A response</TITLE></HEAD>
<BODY>This is the index file</BODY>
</HTML>

Example 1: (a) Terminating the request message; (b) sample response from the prior request.

Back to Article