Austin Pederson
04/25/2025, 7:48 PMContentNegotiation
plugin. It looks like the ContentNegotiation
plugin always uses Transfer-Encoding: chunked
which is a problem for S3. This limits me to having to manually serializes this object before uploading it. Is there any way to turn off this behavior? I've scoured the web but found no way to do this as of yet...phldavies
04/25/2025, 8:11 PMRenan Kummer
04/25/2025, 9:47 PMAustin Pederson
04/28/2025, 5:01 PMAustin Pederson
04/28/2025, 5:04 PMTransfer-Encoding
header and updates the Content-Length
with a manually calculated body size
Neither of these options are particularly great so I was hoping that we'd be able to find an alternative here that would help us out sad pandaAleksei Tirman [JB]
05/02/2025, 12:59 PMContentNegotiation
plugin with KotlinxSerializationConverter
serializes requests to the TextContent
and ByteArrayContent
types that have a known content length (no chunked encoding).Austin Pederson
05/02/2025, 5:33 PMAleksei Tirman [JB]
05/05/2025, 7:54 AMJacksonConverter
streams the body by using the OutputStreamContent
. You can disable streaming by passing false
to the streamRequestBody
parameter when calling the jackson
configuration method.Austin Pederson
05/05/2025, 4:34 PM