Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPResponse.KeepAlive
Indicates if the client connection should be maintained during request/ response protocol exchanges.

property KeepAlive: Boolean;
Description
KeepAlive is a Boolean property that indicates if the HTTP response supports and uses the HTTP Keep-Alive header for connection control. Reading the value in KeepAlive causes the value in ResponseText to be examined for a valid HTTP protocol version.

For HTTP 1.1 clients, the value for KeepAlive will contain True if the HTTP client connection is still intact, and Connetion and ProxyConnection header values do not contain the 'CLOSE' directive.

For HTTP 1.0 clients, the value for KeepAlive will contain False unless the HTTP Keep-Alive header is used for the HTTP Connection or ProxyConnection.