Gerhard Froehlich wrote:

> >> > <question who="SM">what happens when the client has already received
> >> > part of the request (say during aggregation?)</question>
> >>
> >> The discussion had taken place on this, intermediate output stream was
> >> suggested to avoid "committed response":
> >> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=99828709211581&w=2
> >> and
> >> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=99442091111980&w=2
> >
> >Hmmmm, did you guys thought about using 'chuncked HTTP'?
> 
> Could you explain, what do you exactly mean with 'chuncked HTTP'?

Go and RTFM :)

No, seriously, take a look at 

 ftp://ftp.isi.edu/in-notes/rfc2616.txt

and search for 'chunk'. You'll find that HTTP/1.1 has the ability to
'chunk' (split) the response in several parts, each one with a header.

This was designed exactly to allow servers to return error messages
*after* the original header has been sent. The problem is that the
Servlet API doesn't allow chunking by itself, so we must *reencode* the
chunks in the servlet output stream

I just sent a question to my friends part of the Servlet Expert Group at
the JCP but as long as I was there, nobody touched the argument.

Comments?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<[EMAIL PROTECTED]>                             Friedrich Nietzsche
--------------------------------------------------------------------



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

Reply via email to