Skip to content

Commit

Permalink
support multipart streaming bodies in HttpClient based backends
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil-Lontkowski committed Feb 26, 2025
1 parent 63a08c6 commit 74d61b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private[client4] trait BodyToHttpClient[F[_], S, R] {
builder.header(HeaderNames.ContentType, s"$baseContentType; boundary=${multipartBodyPublisher.getBoundary}")
multipartBodyPublisher.build().unit
} else {
val bodyBuilder = MultipartStreamingBodyBuilder()
val bodyBuilder = new MultipartStreamingBodyBuilder()
builder.header(HeaderNames.ContentType, s"$baseContentType; boundary=${bodyBuilder.getBoundary}")
multipartStreamBody(m.parts, bodyBuilder)
}
Expand Down

0 comments on commit 74d61b2

Please sign in to comment.