Indy 9 | Content | Index | Reference

HasContentLength
See Also
Indicates when HTTP response headers contain a content length value.
Description
HasContentLength is a public read-only Boolean property that indicates when the headers for an HTTP response contains a 'Content-Length' header with a non-zero value.

HasContentLength is updated when header values are loaded into properties for TIdResponseHeaderInfo using ProcessHeaders.

HasContentLength is used by TIdHTTP when reading the HTTP Response, and is used to determine when the stream used for the Response contents can be truncated.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.