-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multipart streaming bodies in HttpClient based backends #2466
Conversation
319f8bd
to
63a08c6
Compare
de22804
to
dbb731f
Compare
core/src/main/scalajvm/sttp/client4/internal/httpclient/BodyToHttpClient.scala
Outdated
Show resolved
Hide resolved
d0240d9
to
840fd28
Compare
For now monix and zio1 backends have disabled streaming. With zio1 problem was with reading file because it produced |
|
||
def toPublisher(stream: BinaryStream): F[HttpRequest.BodyPublisher] | ||
|
||
override def multipartBodyPublisher( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe let's just call the method apply
? the repetition doesn't give much more additional info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
core/src/main/scalajvm/sttp/client4/internal/httpclient/MultipartBodyBuilder.scala
Outdated
Show resolved
Hide resolved
Great, done! :) |
Closes #2407