http 請求報文和應答報文
阿新 • • 發佈:2018-03-30
網絡請求報文
POST /cgi-bin/httpconn HTTP/1.1
POST:請求地址
Host: 111.161.64.121
HOST:主機頭
Accept: /
Accept :accept 屬性
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
U-A:客戶端類型
Connection: Keep-Alive
connection: :keep-Alive 持續連接
Cache-Control: no-cache
cache-control:緩存管理
Accept-Encoding: gzip, deflate
Accept-enconding: 支持壓縮
Content-Type: application/octet-stream
content-type:傳輸類型
Content-Length: 218
content-length:傳輸長度
響應報文
HTTP/1.1 200 OK
HTTP:200成功返回值正常
Server: httpsf2
server:主機類型
Connection: Keep-alive
Connection:持續可連接
Content-Type: text/octet
Content-Type:傳輸類型
Content-Length: 2291
Content-Length:傳輸長度
http 請求報文和應答報文