httpWebRequest.AutomaticDecompressiondoesnotset"Accept_Encoding:gzip"header我在我的.net3.0应用程序中使用Web服务引用,并且正在尝试设置gzip解码。当我使用SoapUI时,响应是用gzip压缩的,因为在请求中设置了标题\\'Accept-Encoding:gzip,deflate\\'。发送我的.net请求时,它没有此标头,因此服务器未压缩响应。我找到了这个链接,它准确地描述了我想要做什么。我实现了代码并使用调试器验证它在每个请求上都被执行,但它仍然没有添加\\'Accept-Encoding:gzip\\'标