[ee122] No content length or transfer encoding in http reply

Daniel Killebrew dank at eecs.berkeley.edu
Fri Oct 19 12:44:37 PDT 2007

A persistent connection has nothing to do with the reply coming in 
chunked or not. Persistent connection means the server won't close the 
connection after the file is sent.

But if you don't get a content length or chunked header line, you're 
free to gracefully close the connection and indicate the error to the user.


Eric Cheung wrote:
> If the client specifies a persistent connection and gets a reply without 
> a content length or "transfer-encoding: chunking" in it, should it just 
> close the connection?  Otherwise, the client wouldn't know when to stop 
> reading.
> Thanks
> - Eric
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122

More information about the ee122 mailing list