if(oSession.host.Contains("baidu.com")){//根据host判断
            oSession.RequestHeaders.Remove("Accept-Encoding");
            oSession.RequestHeaders.Add("Accept-Encoding","none");}

 

相关文章:

  • 2021-11-16
  • 2021-11-30
  • 2021-10-17
  • 2022-12-23
猜你喜欢
  • 2021-10-19
  • 2021-10-28
  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2021-05-27
相关资源
相似解决方案