Android Question OkHttpRequest.SetContentLength is missing

b4auser1

Well-Known Member
Licensed User
Longtime User
OkHttpRequest has SetContentType method.

Google API requres to set Content-Length, but I didn't find the method SetContentLength.
B4X:
...
Content-Type: multipart/related; boundary="foo_bar_baz"
Content-Length: number_of_bytes_in_entire_request_body
Is there a way to setup Content-Length ?
 
Top