>>> Howard Melman <[EMAIL PROTECTED]> 9/8/99 4:35:21 PM >>>
> Is the servlet
>responsibile for doing the chunking
>(I would guess not),

You'd guess right.

>does the servlet engine have to do this?

Should do yes.

Of course, it doesn't have to. The API (even 2.2) is not HTTP/1.1
specific and there are plenty of engines out there that don't do
HTTP/1.1, there are also some that do it but not properly.

Also, servlet engines do have other ways of acheiving the
content-length problem.

My own engine (gnupaperclips) before it was HTTP/1.1 compliant and
used chunked encoded output streams, used to buffer the whole output
of the servlet up to a configurable maximum (say 20Kb).

As long as the output was lower than the max the output was buffered
and then the content-length set when the output was done.


Nic

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to