1 / 17
文档名称:

http协议详解(Detailed explanation of HTTP protocol).doc

格式:doc   大小:24KB   页数:17页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

http协议详解(Detailed explanation of HTTP protocol).doc

上传人:rjmy2261 2017/11/18 文件大小:24 KB

下载得到文件列表

http协议详解(Detailed explanation of HTTP protocol).doc

相关文档

文档介绍

文档介绍:http协议详解(Detailed explanation of HTTP protocol)
The HTTP request consists of three parts:
Request line, message header, request text.
Request line (format):
Method Request-URI HTTP-Version CRLF
Method: method.
GET requests access to resources identified by Request-URI.
POST adds new data to the resource identified by Request-URI.
The HEAD request gets the response message header of the resource identified by the Request-URI.
The PUT request server stores a resource and uses Request-URI as its identifier.
The DELETE request server deletes the resources identified by the Request-URI.
TRACE requests the server to send back the requested information, the main language test or diagnosis.
CONNECT reserves future use.
OPTIONS requests to query the performance of the server, or to query the resource related options and requirements.
Request-URI: unified resource identifier.
HTTP-Version:HTTP version.
CRLF: return line feed. (\r\n)
Cases:
GET / HTTP/ \r\n
HTTP Response
After receiving and interpreting the request message, the server returns a HTTP response message.
Like the HTTP request, the HTTP response is posed of three parts:
Status line, message header, response body.
State line:
The state line is described by protocol version, status code in digital form, and the corresponding state description. Each element is separated by space.
Format: HTTP-Version Status-Code Reason-Phrase CRLF
For example: HTTP/ 200 OK \r\n
Status code:
The status code is made up of 3 digits to indicate whether the request is understood or satisfied.
State description:
The state description gives a short text description of the status code.
The first number of the status code defines the category of the response, and the latter two have no specific classification.
The first digit has five possible values:
- 1xx: indicates information - indicates that the request has been received and continues processing.
- 2xx: ess - indicates that the request has

最近更新

金锁固精丸的有效成分研究 33页

合作玩快乐多市公开课获奖教案省名师优质课赛.. 4页

可乐幼儿美术市公开课获奖教案省名师优质课赛.. 4页

北师大九年级上册市公开课获奖教案省名师优质.. 3页

2024年产品销售合同集锦七篇 25页

分类游戏小班市公开课获奖教案省名师优质课赛.. 4页

函数市公开课获奖教案省名师优质课赛课一等奖.. 5页

六音乐市公开课获奖教案省名师优质课赛课一等.. 4页

六年级习作市公开课获奖教案省名师优质课赛课.. 5页

2024年五年级数学上册《小数乘法》单元教学反.. 16页

八带拼音市公开课获奖教案省名师优质课赛课一.. 5页

健康浙江市公开课获奖教案省名师优质课赛课一.. 4页

2024年亏欠孩子的说说 67页

信息技术四年级市公开课获奖教案省名师优质课.. 6页

伦巴音乐市公开课获奖教案省名师优质课赛课一.. 5页

2024年二年级寒假日记(精选30篇) 16页

人教版小学一年级上册市公开课获奖教案省名师.. 6页

铁路安全事故案例心得体会(优秀6篇) 11页

压缩空气动力汽车的研究与发展 7页

柴油车加载减速法作业指导流程 4页

新人教版一年级数学下册第三次月考试卷(5、6单.. 5页

XX药业有限公司开展治理商业贿赂自纠自查工作.. 3页

党纪处分的决定范文-党纪处分申诉书范文 3页

十四岁生日活动方案 6页

经济管理类毕业论文外文 15页

兴隆煤矿矿井2、3号煤层初步设计【含CAD图纸+.. 110页

张爱玲与《金锁记》-课件(PPT·精·选) 43页