下载地址:http://dumpsterventures.com/jason/httpry/
安装:
centos用yum不行,我试过,所以源码安装:
先安装git,然后从github克隆,地址:http://dumpsterventures.com/jason/httpry
最后,make,make install
基本使用:
httpry -h 查看基本使用
例如:httpry -i lo
高级用法(重要且实用):
其实很多时候,我们需要看的是http的header信息,
在源码里面的doc文件夹,里面有format-string这个文件,详细解释了参数的使用,当然包括头信息,比如content-type