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

原文地址:https://www.cnblogs.com/tianyajuanke/p/6897383.html