HTTP 1.0, 1.1

Last Updated: Graph.K

connection and request

	>telnet 192.168.1.1 80
	GET / HTTP/1.0 --> see below
	<nl>

HTTP 1.0

	GET / HTTP/1.0
	<nl>

HTTP 1.1

	GET /speeddial.xml HTTP/1.1
	Host: 192.168.1.110
	<nl>

Header message

titledescription
Authorization:username and passsword
Host:Web server
Referer:Referenced page
User-Agent:user agent
Data:Date time
Connection:connection
Content-Type:type
Content-Length:length of data
Last-Modified:last modified date

status

descriptionmessates
normal done 200 OK
Bad request 400 Bad Request
fale to login 401 Unauthorized
no authorized to read or preview 403 Forbidden
not found 404 Not Found
internal server error 500 Internal Server Error

exsample

HTTP/1.1 200 OK
Date: Tue, 26 Feb 2008 01:44:14 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-22
Last-Modified: Mon, 25 Feb 2008 09:16:30 GMT
ETag: "5189-407-47c2876e"
Accept-Ranges: bytes
Content-Length: 1031
Content-Type: text/xml