ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
一、HTTP watch 请求——http客户端发送请求 ~~~ GET /1.php HTTP/1.1 //请求的页面 Accept: text/html, application/xhtml+xml, */* X-HttpWatch-RID: 84087-10136 Accept-Language: zh-CN User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko Accept-Encoding: gzip, deflate Host: www.php.com //请求服务器地址 DNT: 1 Connection: Keep-Alive ~~~ 响应——http响应(浏览器解析) ~~~ HTTP/1.1 200 OK Date: Wed, 12 Oct 2016 02:03:20 GMT Server: Apache/2.4.10 (Win32) OpenSSL/0.9.8zb PHP/5.3.29 X-Powered-By: PHP/5.3.29 Content-Length: 145 //返回字节长度 Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Content-Type: text/html <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> 绗竴涓〉闈? </body> </html> ~~~ ![](https://box.kancloud.cn/d2aac38ade8ca019789d0747edd0fa48_276x278.jpg) ![](https://box.kancloud.cn/7f0d3e6655ee411e35a108532e9ebe31_601x267.jpg)