curl

curl输出原始数据,不对网页解压

 

curl -iv --raw -H "Accept-Encoding: gzip deflate" \
               -H "User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0" \
               -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
               -H "Referer: https://www.baidu.com" \
                https://www.baidu.com -o baidu.raw

 

 

curl -iv --raw -H "Accept-Encoding: gzip deflate" http://127.0.0.1:10240/gm/ShowConfig/CookbookConfig -o CookbookConfig.raw

posted @ 2017-05-24 09:39  轻典  阅读(404)  评论(0编辑  收藏  举报