GZip HTTP request compression with Tomcat

I am new to using Tomcat, so maybe I am missing something. In server.xml, it looks like you can enable GZip compression for HTTP responses from the server to the client. However, in my application there are large chunks of XML data sent from the client to the server. Is there a way to enable GZip compression in tomcat so that my client sends the compressed data and is automatically unpacked on the server side? Thanks.

+4
source share
2 answers

Perhaps this 2Way HTTP compression servlet filter would be useful?

+3
source

Source: https://habr.com/ru/post/1302898/


All Articles