On Mon, 2007-04-16 at 02:09 +1000, skaller wrote: > On Sun, 2007-04-15 at 07:47 -0700, James Dennett wrote: > > On 4/15/07, skaller <[EMAIL PROTECTED]> wrote: > > I can't figure out how to terminate an indefinite length > > http response .. anyone know? > > > > wget keeps retrying after the connection is closed > > on it, I don't know any other way to signify end of file .. > > > > AFAIK, apart from specifying the Content-Length, the only other > > portable-ish way is to use the "chunked" encoding. Not sure if > > that's supported by HTTP/1.0, or if it requires HTTP/1.1. Will > > look into this a little more later; while I've done some HTTP work > > in the past it's an occasional thing for me. > > Ok, thanks .. somehow wget is getting confused.. it also > says "No headers" when plainly it got headers. > > Perhaps the server isn't closing the socket properly.. > I think it's using close.
Aha .. wget is happy if I use shutdown before closing .. hmm. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Felix-language mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/felix-language
