Internet Direct (Indy)
Home
PreviousUpNext
TIdEntityHeaderInfo.HasContentLength Property

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

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

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.