这前一直是用网上的php网页来检测,没有找到源码,
这回好了,来看个本地版本吧
curl -I -H "Accept-Encoding:gzip, deflate" http://www.15-1688.com
reference:http://sudone.com/linux/web_page_header.html
HTTP/1.1 200 OK
Content-Type: text/html; charset=gb2312
Connection: keep-alive
Content-Encoding: gzip