原数据
"GET / HTTP/1.1\r\nHost: 127.0.0.1:909\r\nConnection: keep-alive\r\nCache-Control: max-age=0\r\nUpgrade-Insecure-Requests: 1\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\r\nAccept-Encoding: gzip, deflate, br\r\nAccept-Language: zh-CN,zh;q=0.8,ja;q=0.6,nl;q=0.4\r\n\r\n"
换行显示的数据
GET / HTTP/1.1
Host: 127.0.0.1:909
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 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.8,ja;q=0.6,nl;q=0.4
返回的数据
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 4.0
X-Powered-By: ASP.NET
Date: Wed, 08 Nov 2017 06:29:44 GMT
Content-Length: 954
post 请求的数据
"POST /?123=456 HTTP/1.1\r\nHost: 127.0.0.1:909\r\nConnection: keep-alive\r\nContent-Length: 3\r\nAccept: */*\r\nOrigin: chrome-extension://ocgamhjjmiiebdkkidpakhnfdagljmcg\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36\r\nContent-Type: application/x-www-form-urlencoded\r\nAccept-Encoding: gzip, deflate, br\r\nAccept-Language: zh-CN,zh;q=0.8,ja;q=0.6,nl;q=0.4\r\n\r\na=c"