POST /index.html HTTP/1.1
HOST: www.XXX.com
User-Agent: Mozilla/5.0(Windows NT 6.1;rv:15.0) Firefox/15.0
Username=admin&password=admin
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Type: text/html;charset=utf-8
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Document</title>
</head>
<body>
<p>this is http response</p>
</body>
</html>
若想了解具体表达可以在以下查询结果:
HTTP请求方法大全:http://tools.jb51.net/table/http_request_method
HTTP请求头大全:http://tools.jb51.net/table/http_header
HTTP状态码大全:http://tools.jb51.net/table/http_status_code
来源:
https://www.cnblogs.com/jpfss/p/10984966.html
https://blog.csdn.net/weixin_38087538/article/details/82838762
https://www.bilibili.com/video/BV1V54y1y7c4?p=2
原文:https://www.cnblogs.com/progweb/p/14480174.html