main
bicijinlian 8 months ago
parent 84902f337e
commit 0d961975e8

@ -142,7 +142,15 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"http是无状态的请求/响应模式。请求包括:请求行(方法 URL 协议版本 回车换行符)、请求头及可选的请求体;响应包括:状态行(协议版本 状态码 状态码描述 回车换行符)、响应头及可选的响应体。" "http是无状态的请求/响应模式。\n",
"\n",
"客户端请求: 请求行(方法 URL 协议版本 回车换行符)、请求头、空行及可选的请求体;\n",
"\n",
"![客户端请求消息](./Assets/RequestMessage.png)\n",
"\n",
"服务器响应:状态行(协议版本 状态码 状态码描述 回车换行符)、响应头及可选的响应体。\n",
"\n",
"![客户端请求消息](./Assets/ResponseMessage.jpg)\n"
] ]
}, },
{ {
@ -258,6 +266,27 @@
"source": [ "source": [
"## 3、处理 http 响应" "## 3、处理 http 响应"
] ]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 4、HTTP 有效内容响应"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 5、HTTP 错误处理"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 6、Http 代理"
]
} }
], ],
"metadata": { "metadata": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Loading…
Cancel
Save