使用nc发送http请求echo -n "GET / HTTP/1.0\n\n\n"|nc phpgao.com 80 -vv nc phpgao.com 80 <<END HEAD / HTTP/1.1 Host: phpgao.com END