您的位置:首页 > 理论基础 > 计算机网络

http响应协议 请求内容

2017-02-17 09:40 351 查看
/*
Http响应协议

HTTP/1.1 200 OK   //应答行 包含: http协议版本 空格 响应消息号 消息描述
Date: Tue, 10 May 2016 09:15:00 GMT  //下面这些key-value是响应消息头
Server: VWebServer
X-Frame-Options: SAMEORIGIN
Last-Modified: Tue, 10 May 2016 08:22:39 GMT
ETag: "5a86-53278a0cff1c0"
Accept-Ranges: bytes
Content-Length: 23174
Vary: User-Agent,Accept-Encoding
Cache-Control: private, max-age=600
Expires: Tue, 10 May 2016 09:25:00 GMT
Connection: close
Content-Type: text/html
Content-Language: zh-CN
//响应消息头结束处,必须有一个空行
响应正文(通常是html代码)

*/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: