依 RFC 2616 (HTTP/1.1):

GET /index.html HTTP/1.1 ← 請求行
Host: www.example.com ← 一般頭
User-Agent: Mozilla/5.0 ← 請求頭
Accept: text/html ← 請求頭
← 空行
body data... ← 訊息體(可選)

HTTP/1.1 200 OK ← 狀態行
Date: Mon, 23 May 2005 22:38:34 GMT ← 一般頭
Server: Apache/1.3.3.7 ← 回應頭
Content-Type: text/html ← 實體頭
Content-Length: 1234 ← 實體頭
← 空行
<html>...</html> ← 訊息體
編寫模擬發送 HTTP 請求的工具驗證理解,明日完成後附上。