tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salvatore Lionetti <salvatorelione...@gmail.com>
Subject [tomcat users] Lenght Encoding
Date Wed, 11 Jul 2012 18:41:45 GMT
Hi to all,

I'm using Tomcat 7.0.28, a simple doGet() synchronous customization of
HttpServlet, responding with a 'push' multipart.
This response is generated by tomcat server and my webapp: does in yours
opinion looks like correct?

HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1

... Connection: keep-alive
> Content-Type: multipart/x-mixed-replace;boundary=NEWD
> Transfer-Encoding: chunked (ADDED BY TOMCAT ENGINE)
>
>
> --NEWD
> 2...
> --NEWD
> 1...
> --NEWD
>
> --NEWD--
>

I mean: why tomcat engine add chunks encoding (see the header) if in this
case an indefinite length encoding is presents, marked with 'NEWD'?

Many thanks for attention.
Have a good day

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message