(chap6 Http首部) 报文首部
生活随笔
收集整理的這篇文章主要介紹了
(chap6 Http首部) 报文首部
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1. 報文結構
1.1 請求報文
eg.
GET / HTTP/1.1 Host : hackr .jp結果為: User-Agent : Mozilla/5.0 (wWindows NT 6.1; WOw64; rv:13.0)Gecko/=20100101 Firefox/13.0 Accept: text/html , application/xhtml +xml , application/xml ;q=0.9,=*/*;q=0.8 Accept-Language: ja, en-us;q=0 . 7,en;q-o.3Accept-Encoding: gzip, deflate DNT:1 Connection: keep-alive If-Modified-since: Fri,31 Aug 2007 02:02:20 GMTIf-None-Match: "45bae1-16a-46d776ac" Cache-Control : max-age=01.2 響應報文
eg.
HTTP/1.1 304 Not Modified Date: Thu,07 Jun 2012 07;21:36 GMTServer: Apache connection: close Etag: "4 5bae1-16a-46d776ac"總結
以上是生活随笔為你收集整理的(chap6 Http首部) 报文首部的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 区块链BaaS云服务(14)华大BGI区
- 下一篇: (chap6 Http首部) 首部