Request.getContentLength

Gets the length of the data represented by @request. For most request types, this will not be known until after you call soup_request_send() or soup_request_send_finish().

class Request
long
getContentLength
()

Return Value

Type: long

the length of the data represented by @request, or -1 if not known.

Meta

Since

2.42