Re: HTTP 1.1 behaviour

Giganews Newsgroups
Subject: Re: HTTP 1.1 behaviour
Posted by:  Remy Lebeau (TeamB) (
Date: Wed, 11 Jan 2006

"Tomazz" <tomaz.kos…> wrote in message

> When requesting server with http 1.1 HTTP.Get method hangs (or
> waiting for server to close connection?).

The only time Get() waits for the connection to be closed is when the server
does not send any Content-Length header.  If it does, then Get() will not
wait.  It will return immediately as soon as the last of the data has been

> Using HTTP.ProtocolVersion.pv1_0 or adding custom headers
> Connection: Close helps, response is fetched in timely maner.

Please show your actual code, and indicate which actual server you are
trying to access.



In response to

HTTP 1.1 behaviour posted by Tomazz on Wed, 11 Jan 2006