MessageHeaders.getContentLength

long getContentLength()

Gets the message body length that hdrs declare.

This will only be non-0 if [soup.message_headers.MessageHeaders.getEncoding] returns [soup.types.Encoding.ContentLength].

Returns

the message body length declared by hdrs.