On Thu, 13 Jun 2002, Guy CHEMLA wrote: > Could someone please explain why does Apache issue a "Connection: close" > when wget requests a cgi? Pasting below requests of IE and wget and > Apache's responses to each. Does Apache have a reasons to suspect wget's > ability to deal with chunks?
It doesn't just "suspect" that, it knows. Wget issues a HTTP/1.0 request and then it (the server) can't reply with a chunked response. Since it doesn't know the size on beforehand, it can only send the response as Connection: close. -- Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol