How about calculating the real size for UTF-8 and having a setting to
set or not the content-length..
Ludovic
Matthew Conway wrote:
I'm trying to get xwiki/utf-8/postgres working and
ran into a couple
of snags.
I added some comments to
http://www.xwiki.org/xwiki/bin/view/Dev/
CharactersSets
In there I mentioned that it should be safe to not set the content
length on the response as the http protocol (1.1 anyway) defaults to
using chunked encoding if there is no content length set. This way
you get the performance benefits of keepalive, without setting the
content length.
The code should probably be changed in the repository to remove this
line, or at the very least have a xwiki.cfg setting for it.
Comments?
Matt
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic