Hi Bill I've tried that but it doesn't appear to work. Is this because I need to upgrade to a later version of tomcat or what???
Thanks Donie -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: 22 October 2004 03:54 To: [EMAIL PROTECTED] Subject: Re: Filter question in 4.1.18, can my filter get unchunked and unzipped requests? "Donie Kelly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all > > > > I've been reading up on filters to see if I can find a solution to an > annoying problem. I can't find it so I'm looking here. > > > > I have this http filter that messes with the http request and response > before it enters and leaves tomcat. The problem is that this filter works > at > a fairly low level on the data but a big mistake we made is that it > assumes > that the data is neither chunked or gzipped. Now we have a situation where > some clients send data either in chunked form or gzipped form and out > fairly > complicated filter gets very confused as it's not expecting this. > > > > Ok, we can re-write the thing to handle this but doesn't tomcat already > unzip and de-chunk data? Problem is where is it done? > > > > > > My question is, how can we arrange it so that the initial processing on > the > incoming data is done by tomcat so that it unzip and de-chunks the data > before it reaches my filter? > > > > Is this possible??? > > > > Please say it is.... > > You may need to plug in a newer Coyote Connector (or, even, plug it in in the first place, since 4.1.18 is a bit old :), but it will at least unchunk the input for you. It doesn't currently unzip for you, but that should be a lot less common. > > Many thanks > > Donie > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]