I have a client browser that acts a bit in a non-standard fashion, for http
responses with content-length set (keep-alive) it expects the content-length
worth of data PLUS an extra \r\n that is not counted in the content length
header sent.
When I set the HttpServletResponse contentLength header to value X and then
write X+2 bytes to the stream, only X bytes get written. I assume the the
underlying control is only sending what the header is set to. Is there
anyway to get around this, ie. set the content length header to X and X+2
bytes?
Thanks!