|Subject:||Re: idhttp.head(URL) and Proxy 407|
|Posted by:||Remy Lebeau (TeamB) (email@example.com)|
|Date:||Tue, 14 Feb 2006|
"Indy" <Igor.Colov…@intermex.biz> wrote in message
> After that indy is blocked (until timeout) in function ProcessResponse.
The server is not sending a 'Content-Length' header, so
TIdCustomHTTP.ReadResult() reads until the connection is closed:
if not AResponse.HasContentLength then
IOHandler.ReadStream(LS, -1, True);
The proxy server is not closing the connection, though.
> If I call idhttp.get(URL) everything is working perfectly.
The server is likely returning a 'Content-Length' header.
idhttp.head(URL) and Proxy 407 posted by Indy on Tue, 14 Feb 2006