Chris,

Weird, when going thru IIS to TC, it's not compressed:

HTTP/1.1 200 200
Content-Type: application/json;charset=UTF-8
Content-Language: en-US
Server: Microsoft-IIS/10.0
Date: Fri, 23 Jul 2021 16:34:30 GMT
Content-Length: 3210105

That has likely nothing to do with TC. It's an IIS or reverse proxy thing. IIS fetches the requested resource from TC, acting as an HTTP client (or are you using AJP with IIS?). It gets a compressed response. What does IIS do next? It just uncompresses the resource and sends it back as response to its client (your browser).

So, it's up to IIS or its reverse proxy module (whatever) to fix that. Maybe there is an option to tell IIS not to uncompress the response. Or you could add compression to IIS a well. Yes, in that case, TC compresses, IIS uncompresses and compresses again... :(

Carsten


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to