1. 程式人生 > >curl -l的資訊詳解(這樣還看不懂,就沒天理了)

curl -l的資訊詳解(這樣還看不懂,就沒天理了)

[[email protected] ~]# curl -I "http://www.baidu.com"
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: Keep-Alive
Content-Length: 277
Content-Type: text/html
Date: Sat, 27 Oct 2018 06:37:09 GMT
Etag: "575e1f71-115"
Last-Modified: Mon, 13 Jun 2016 02:50:25 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

 

HTTP/1.1 200 OK:HTTP/1.1表示協議版本  200表示成功  OK狀態資訊

Accept-Ranges: bytes
Accept:接受
Ranges:範圍
bytes:位元組

Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Cache:快取
Control:控制
private:私有的
store:貯存,儲存
proxy-revalidate:使代理重新生效
proxy:代理
revalidate:使重新生效
transform:改變

Connection: Keep-Alive
Connection:連線
Keep-Alive:保持活力
Keep:保持
Alive:活力

Content-Length: 277
Content-Length:內容長度
Content:內容
Length:長度

Content-Type: text/html
Content-Type:內容型別
Type:型別
text:文字
html:HTML

Date: Sat, 27 Oct 2018 06:37:09 GMT
Date:時間
Sat:星期六
GMT:格林尼治時間

Etag: "575e1f71-115"
Etag:被請求變數的實體值

Last-Modified: Mon, 13 Jun 2016 02:50:25 GMT
Last:最後
Modified:改進的,修改
Mon:週一

Pragma: no-cache
Pragma:雜注;編譯指示(通用首部欄位,只用在客戶端傳送的請求中,要求中介伺服器是否返回快取資源)
cache:快速緩衝貯存區(快取)

Server: bfe/1.0.8.18
Server:伺服器