Topic Path: Symbol Reference > Classes > TIdEntityHeaderInfo Class > TIdEntityHeaderInfo Properties > HasContentLength Property
ContentsIndexHome
PreviousUpNext
TIdEntityHeaderInfo.HasContentLength Property

Indicates if a value has been assigned to ContentLength in the entity headers.

property HasContentLength: Boolean;

HasContentLength is a read-only Boolean property that indicates if a value has been assigned to ContentLength in the entity headers. 

HasContentLength is updated when ProcessHeaders is called to set property values from the corresponding header values. HasContentLength is True when ContentLength contains a non-zero positive integer value. 

Assigning a value to ContentLength will ensure that HasContentLength is also updated.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.