The HTTP protocol often uses just a few commands
GET
HEAD
PUT
POST
Here's a quick HTTP GET and head
Give two simple examples:
Example of Get
Telnet ServerIP 80
Get http://www.aaa.com/aaa.html//Enter URL for get command and get
http/1.0 OK
Date:thu, APR 01:19:11 GMT
X-powered-by:asp.net YLTV
x-aspnet-version:2.0.50727
content-type:text/html; charset=gb2312
content-length:28309
X-cache:hit from cache121.aaa.com
Connection:close
The connection to the host has been lost.
Head Sample View HTTP header information for the response can replace the-i parameter of the Curl command under win
Telnet ServerIP 80
Get http://www.aaa.com/aaa.html//Enter URL for get command and get
http/1.0 OK
Date:thu, APR 01:19:11 GMT
X-powered-by:asp.net YLTV
x-aspnet-version:2.0.50727
content-type:text/html; charset=gb2312
content-length:28309
X-cache:hit from cache121.aaa.com
Connection:close
The connection to the host has been lost.
Just like squid has a clear cache of HTTP instructions. Pugre
Assuming that the item clears a page's cache, it can telnet to this squidserver 80port
Then run Pugre http://host/url so you can pugre cache.
But the premise is that squid's ACL agrees!
The original HTTP protocol is so simple!!!
##########################################
The lost Little Yun-dimensional essay
John
Reprint please indicate the source
Telnet Analog HTTP Interview