GZip compression with WCF hosted on IIS7

前端 未结 8 2276
难免孤独
难免孤独 2020-12-13 07:11

Everyone, as far as I\'m concerned the question is ansered in EDIT 2. Although it\'s only a partial solution to the IIS side of the problem, it\'s what I was looking for.

8条回答
  •  旧巷少年郎
    2020-12-13 08:05

    Try adding 'application/soap+xml; charset=utf-8' as dynamic type in applicationHost. Adding this charset part helped me to enable compression for some JSON responses from my http handler.

提交回复
热议问题