Re: HTTP 1.1 behaviour

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

"Tomazz" <tomaz.kos…@mobitel.si> wrote in message
news:BC9DF47F04E9E240tomaz.kos…@mobitel.si...

> 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
received.

> 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.

Gambit

Replies

In response to

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