RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.ContentLength Property

Reports the value of the Content-Length header of the HTTP request message.

Pascal
property ContentLength: Integer;
C++
__property int ContentLength;

Read the ContentLength property to determine the length of the Content property. ContentLength allows an application to determine the end of the Content property when the ContentType is not text/html. A ContentLength of 0 indicates that the length of the Content property is not determined, either because the request does not include any Content, or because the Web client did not know the length.

Note: The length of the Content may be less than ContentLength when the Content is passed using chunked transfer coding.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!