HTTP頭詳解:

來源:互聯網
上載者:User

標籤: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頭詳解:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.