Description
Returns the byte count for the specified page according to the HTTP Content-Size header if one has been received, or zero if a Content-Size header is not present.
Arguments
|
Name |
Type |
I/O |
Description |
|
URL |
String |
In |
The page of interest (blank for the current page). |
Return Value
Long Integer: the value specified in the HTTP Content-Size header if available, else zero.
Remarks
This method can be applied to the current visible page or to any other page in cache.
The return value is extracted from the incoming HTTP Content-Size header and is not guaranteed to be present (when it’s not, a zero is returned). When non-zero, it indicates the number of data bytes the server intends to send but does not necessarily reflect the amount actually sent, even after load is complete. Use GetContentSizeRead to determine the actual count of available bytes.