property ContentLength: Int64 default -1;
Description
Gets or sets the value of the Content-Length HTTP header.
The ContentLength property specifies the number of bytes of data to be sent to the internet resource.
The default value is -1, which indicates that the property hasn't been explicitly set and that no request body is expected.
If ContentLength is set to any value other than -1, it implies that the request includes a body. In this case, only HTTP methods that support uploading data are allowed to be used in the Method property.