How can I get ASP.NET AJAX to send its JSON response with GZip compression?

前端 未结 4 637
囚心锁ツ
囚心锁ツ 2021-02-05 19:35

I have compression enabled within IIS7 and it works as expected on all responses except for those constructed by ASP.NET AJAX. I have a web service that provides data to the cl

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-05 20:16

    Last I checked, the gzipping was something that IIS does (when setup correctly) - and of course when the browser sends the required headers

提交回复
热议问题