标签:
http协议学习系列
GET /pub/WWW/TheProject.html HTTP/1.1
Host: www.w3.org
Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123
Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036
Sun Nov 6 08:49:37 1994 ; ANSI C‘s asctime() format
Expect: 100-continue
GET /index.html HTTP/1.1
GET /hello.htm HTTP/1.1
Accept: */*
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
If-Modified-Since: Wed, 17 Oct 2007 02:15:55 GMT
If-None-Match: W/"158-1192587355000"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: 192.168.2.162:8080
Connection: Keep-Alive
HTTP/1.0 200 OK
HTTP/1.1 400 Bad Request
HTTP/1.1 200 OK
ETag: W/"158-1192590101000"
Last-Modified: Wed, 17 Oct 2007 03:01:41 GMT
Content-Type: text/html
Content-Length: 158
Date: Wed, 17 Oct 2007 03:01:59 GMT
Server: Apache-Coyote/1.1
telnet www.baidu.com 80
GET /index.html HTTP/1.1
GET /index.html HTTP/1.0
GET /index.html HTTP/1.1
connection: close
Host: www.baidu.com
标签:
原文地址:http://my.oschina.net/u/185978/blog/416066