OWIN compression middleware for selfhost scenario -


we have owin application (built nancy , webapi).

when hosting in console application (with katana selfhost), don't have compression enabled on static content.

i've tried working example of owin gzip middleware.

so far found few like: owin.compression nuget, squeezeme nuget, https://gist.github.com/pinpointtownes/538cde1ed5e5d768355d , https://gist.github.com/pinpointtownes/ac7059733afcf91ec319

nothing seems work - in end browser gets responses without content-encoding header , not compressed.

tried adding compression in end of nancy's pipeline - doesn't work either.

while hosting in iis - iis takes care of compression.

am missing something? there overwrites response body stream , removes headers? or, maybe, host should take care of compression?

from additional reading, related katana host. issue happens in nowin host.

thanks.

bottom line: issue not related mentioned above. appears eset av monitors http traffic in company. in case of compressed response eset decompresses before gets client (even in fiddler request appears not compressed).

see more here: https://community.virginmedia.com/t5/email-cloud-and-webspace/is-virgin-disabling-gzip-compression-on-websites/td-p/2851488/page/2


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -