The 'Connection: close' header make me think that you sent Tomcat a HTTP/1.0
request line.  Tomcat is just assuming that your UA doesn't understand
chunked encoding, so it doesn't chunk.

Try sending a HTTP/1.1 request line (and remember to include a Host header).

"Me&" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello people,

I have a question concerning chunked data transfer.

Tomcat doesn't seem to be posting the size of the chunk and an extra
CR/LF's?

The user in this message :
http://mikal.org/interests/java/tomcat/archive/view?mesg=54749

Seems to have it but I don't seem to be able to receive them.
As you can see in my example output am I setting the headers as required
(response.setHeader( "Transfer-Encoding", "chunked");)

Example output :

HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=C07F14B096FFF0F437E5D27EEC264371; Path=/test
Transfer-Encoding: chunked
Content-Type: text/html;charset=ISO-8859-1
Date: Thu, 06 Nov 2003 13:05:32 GMT
Server: Apache Coyote/1.0
Connection: close

test

Pin : 109<br>Chipknip : 49<br>Logrecords fetched : 2672<br>
<br>Processing time : 27019 milliseconds.


Thanks for any help!

Ikke




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

Reply via email to