Page 1 of 1

Accept compresed requests in tomcat

Posted: Thu Oct 25, 2007 6:22 am
by wakeup
I have tomcat configurate to send responses compresed with gzip if the cliente send me the Accept-encoding:gzip http header.

But how allow tomcat to accept compressed request with Content-encoding: gzip header?

Thanks

Posted: Mon Nov 05, 2007 4:31 pm
by dovetail
There is nothing really special that you need to do in Tomcat. What you need to do is write a Servlet that accepts file uploads (multipart mime input).

Here's an article on JGuru that might help you:

http://www.jguru.com/faq/view.jsp?EID=160