http的请求协议
2021-04-06 20:28
标签:title col insecure text accept max 请求协议 pre image Get请求包括两个部分: 基本样式: POST请求包括三个部分 基本样式 链接:https://www.cnblogs.com/bihanghang/p/10218738.html http的请求协议 标签:title col insecure text accept max 请求协议 pre image 原文地址:https://www.cnblogs.com/nizuimeiabc1/p/12492590.htmlHttp的Get,POST
GET /?name=XXG&age=23 HTTP/1.1 -----> request line
------------------------------------------------------------------
Host: 127.0.0.1:8007
Connection: keep-alive
Cache-Control: max-age=0 -----> header
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
GET / HTTP/1.1 -----> request line
------------------------------------------------------------------
Host: 127.0.0.1:8007
Connection: keep-alive
Content-Length: 15
Cache-Control: max-age=0 -----> header
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
------------------------------------------------------------------
name=XXG&age=23 ------>message body