tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harmeet" <harm...@kodemuse.com>
Subject Question on chunked responses.
Date Fri, 31 Aug 2001 03:07:05 GMT
Is there a way to completly disable chunking ?
I have set allowChunking="false" in server.xml

but <HttpResponseStream:checkChunking> may still turn chunking on for
individual requests

It has this code
useChunking = (!response.isCommitted()
             && response.getContentLength() == -1
             && response.getStatus() !=
HttpServletResponse.SC_NOT_MODIFIED);

Is there a way I can turn off chunking for all requests.

I am using Tomcat 4.0B7 and HTTP 1.1 connector.

Harmeet



Mime
View raw message