Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
Protocols
Protocols.HTTP
Protocols.HTTP.Query

Method Protocols.HTTP.Query()->total_bytes()


Method total_bytes

int total_bytes()

Description

Gives back the size of a file if a content-length header is present and parsed at the time of evaluation. Otherwise returns -1.