How to support compressed HTTP requests in Asp.Net 4.0 / IIS7?

前端 未结 3 2048
萌比男神i
萌比男神i 2021-02-15 14:37

For an ASP.NET 4.0 / IIS7 web app, I would like to support compressed HTTP requests. Basically, I would like to support clients that would add Content-Enc

3条回答
  •  无人及你
    2021-02-15 14:59

    Try Wiktor's answer to my similar question here:

    How do I enable GZIP compression for POST (upload) requests to a SOAP WebService on IIS 7?

    ...but please note his implementation on his blog contained a couple of bugs / compatibility issues, so please try my patched version of the HttpCompressionModule class posted on the same page.

提交回复
热议问题