Accept compresed requests in tomcat

Issues and Questions related to running Apache Tomcat on z/OS
Post Reply
wakeup
Posts: 1
Joined: Thu Oct 25, 2007 6:16 am

Accept compresed requests in tomcat

Post 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
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post 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
Post Reply