Disable transfer-encoding chunked

Hello,

Is there any way to disable “transfer-encoding chunked” when sending a multipart request? My understanding is that if the content length is provided, it shouldn’t chunk the request, right?

I’m actually unsure if that’s an issue with sttp or the underlying backends actually. I’m talking to a server that doesn’t support transfer-encoding chunked, and the only backend that worked was the Okhttp one… Setting the http version to Http 1 didn’t help either as I understand it is not widely implemented by backends. Any pointers would be appreciated, thanks!