9.6.2.3. 默认已支持解压缩html

内部相关代码:


        req.Headers["Accept-Encoding"] = "gzip, deflate";
        //req.AutomaticDecompression = DecompressionMethods.GZip;
        req.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;

            

相关帖子:【已解决】C#中HttpWebRequest使用Proxy后异常