int contentLength

The content length of the request body.

If the size of the request body is not known in advance, this value is -1.

Source

int get contentLength;