標籤:idt 伺服器 請求 connect style 語言 告訴 頁面 win
|
GET/mycode/2.gifHTTP/1.1 |
【表示發送的是GET請求,請求資源是/mycode/2.gif,協議HTTP/1.1】 |
|
Host:localhost |
【主機】 |
|
Connection:keep-alive |
【(長連結)普通前序域允許發送指定串連的選項。例如指定串連是連續,或者指定"close"選項,通知伺服器,在響應完成後,關閉串連】 |
|
Cache-Control:max-age=0 |
【緩衝指令】 |
|
Accept:image/webp,image/*,*/*;q=0.8 |
【表示用戶端可以接受的資料類型】 |
|
Location:http://www.baidu.org/index.jsp |
|
|
Server:apachetomcat |
|
|
Content-Encoding:gzip |
【內容編碼支援gzip壓縮演算法】 |
|
Content-Length:80
|
【返回資料大小】 |
|
Content-Language:zh-cn |
語言 |
|
Content-Type:text/html;charset=GB2312 |
【文本類型】 |
Eg:
HTTP/1.1 200 OK 【200 ok 表示用戶端請求成功】
Date: Thu, 14 Apr 2016 07:34:28 GMT 【告訴瀏覽器 請求的頁面的時間】
Server: Apache/2.4.18 (Win64) OpenSSL/1.0.2g PHP/5.6.19 【告訴瀏覽器 伺服器的情況】
Last-Modified: Sun, 06 Mar 2016 04:28:44 GMT
ETag: "cf1f0-52d59c89cf7a4"
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: image/gif 【文件類型】
Content-Length: 848368 【回送的資料有多少位元組】
HTTP頭詳解: