core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
/**
     * Returns the size of the file content (in bytes).
     */
Returns the size of the file content (in bytes).
Returns the size of the file content ( in bytes ) .
@Override
    protected long doGetContentSize() throws Exception
    {
        final Header header = method.getResponseHeader("content-length");
        if (header == null)
        {
            return 0;
        }
        return Long.parseLong(header.getValue());
    }
@ Override protected long doGetContentSize ( ) throws Exception { final Header header = method . getResponseHeader ( "content-length" ) ; if ( header == null ) { return 0 ; } return Long . parseLong ( header . getValue ( ) ) ; }
Returns the size of the file content (in bytes).
Returns the size of the file content ( in bytes ) .
// Assume 0 content-length