Monday, June 25, 2007

HTTP sample from Wikipedia

HTTP (Wikipedia)

Request
GET /index.html HTTP/1.1
Host: www.example.com

Response (followed by a blank line and text of the requested page)
HTTP/1.1 200 OK
Date: Mon, 23 May 2005 22:38:34 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)
Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT
Etag: "3f80f-1b6-3e1cb03b"
Accept-Ranges: bytes
Content-Length: 438
Connection: close
Content-Type: text/html; charset=UTF-8

No comments: