如何发送 GZIP 压缩的 Chilkat.HttpRequest c#

问题描述

我使用 Chilkat 创建和发送 HttpRequest (SOAP MTOM POST)。如何发送 Gzip 压缩请求?

这是常规(未压缩)请求的代码:

Chilkat.HttpRequest req = new Chilkat.HttpRequest();
 req.HttpVerb = "POST";
 req.AddHeader("Content-Encoding","gzip"); //this is not working
  ....

Chilkat.HttpResponse resp = http.SynchronousRequest("www.domain.com",443,true,req);

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)