Tell me about it, I can't change the browser however which blows...

-----Original Message-----
From: Wade Chandler [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 04:03 PM
To: 'Tomcat Users List'
Subject: RE: Content length


Why would you try to support something non standard?  What browser is
it?  There was a big write up about this years ago over the http spec.
Browsers nor Servers should be sending nor expecting non standard extra
empty lines in the protocol.

Wade

-----Original Message-----
From: William Bondy [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 24, 2003 4:33 PM
To: '[EMAIL PROTECTED]'
Subject: Content length


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!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to