Skip to content

Commit

Permalink
fix missing headers for stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil-Lontkowski committed Feb 28, 2025
1 parent 840fd28 commit c448dc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private[client4] trait BodyToHttpClient[F[_], S, R] {
concatBytesToStream(accumulatedStream, bodybuilder.encodeBytes(b.readAllBytes(), partHeaders))
case StreamBody(s) =>
concatStreams(
accumulatedStream,
concatBytesToStream(accumulatedStream, bodybuilder.encodeHeaders(partHeaders)),
concatBytesToStream(s.asInstanceOf[streams.BinaryStream], bodybuilder.CRLFBytes)
)
case _: MultipartBody[_] => throwNestedMultipartNotAllowed
Expand Down

0 comments on commit c448dc5

Please sign in to comment.