request和response
来源:互联网 发布:淘宝店一般能赚多少钱 编辑:程序博客网 时间:2024/05/21 22:33
HTTP Request包含以下三部分
POST /examples/default.jsp HTTP/1.1 Accept: text/plain; text/html Accept-Language: en-gb Connection: Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98) Content-Length: 33 Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate lastName=Franks&firstName=Michael
- Method—Uniform Resource Identifier (URI)—Protocol/Version(请求资源地址)——1行
- Request headers(请求头)——2-9行
- Entity body(请求实体)——11行
HTTP Response包含以下三部分
HTTP/1.1 200 OK Server: Microsoft-IIS/4.0 Date: Mon, 5 Jan 2004 13:13:33 GMT Content-Type: text/html Last-Modified: Mon, 5 Jan 2004 13:13:12 GMT Content-Length: 112 <html> <head> <title>HTTP Response Example</title> </head> <body> Welcome to Brainy Software </body> </html>
- Protocol—Status code—Description——1行
- Response headers(响应头)——2-6行
- Entity body(响应实体)——8-15行
0 0
- Request和Response对象
- Response和Request
- Request和Response对象
- request和response对象
- Request和Response
- response和request类
- C# Response 和 Request
- response和request
- Request和Response
- Request和Response详解
- Request和Response对象
- request和response学习
- request 和 response
- request和response
- Request和Response
- Request和Response
- Request和Response
- Request和Response
- 机器翻译
- HDU 5665 lucky
- 安卓的Pull解析
- maven 项目 cxf+spring 发布rest风格webservice
- top k问题
- request和response
- Java运算符优先级问题
- 59_Service相关细节
- vtk运行时出现"with the gpu_shader4 extension is not supported"
- (使用Wordpress自带的IXR发布新文章)Using XML-RPC in WordPress
- 60_四种动画
- 概率论:假设检验
- Dubbo环境搭建之二 调用者
- 拼写检查 二