cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: content-length (was cvs commit: xml-cocoon/src/org/apache/cocoon
Date Wed, 06 Dec 2000 22:18:06 GMT wrote:
>+                }
>+                if (!VERBOSE && page.isText()) {
>+                    response.setContentLength(page.getContent().length());

Unfortunately that won't work - it needs to be in number of bytes, which 
isn't necessarily the same as the number of characters.

I have a version sitting on my disc that should work, but there are some 
other related changes I'm working on so I can't commit it just yet - I hope 
to be making an announcement on this soon...

Get more from the Web.  FREE MSN Explorer download :

View raw message