Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

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.