On Aug 31, 2005, at 4:31 PM, Ludovic Dubost wrote:


How about calculating the real size for UTF-8 and having a setting to set or not the content-length..

Actually, isn't the content length always going to be the number of bytes, regardless of what encoding is being used?

content.getBytes().length

Matt