zio-http multipart support
https://github.com/softwaremill/tapir/issues/2518 https://github.com/softwaremill/tapir/issues/1595
Hello, thanks for the effort in this I know It's is in draft mode, but I tried to add your changes and tested. For smaller files (~50-60KB) it works fine but for more it gives 413 (Request Entity Too Large). So is that the reason you have it in draft more (And you are trying to resolve this) OR there is some more stuff that i am unaware of ?
@zeffd
That might be the default streaming request size of zio-http server (100 KB).
You can change it via Server.Config (see here)
Also, would be great for this PR to gain some traction as this is a much needed feature :)
@zeffd That might be the default streaming request size of
zio-httpserver (100 KB). You can change it viaServer.Config(see here)
Yes thanks it works now 👍
@zeffd, unfortunately, this is a naive implementation of the multipart. It works correctly for file upload, but tests for multipart forms fail with status code 400. I need to figure out what's wrong there.
Closing old PRs
Has this been already implemented in another PR?
@geeeezmo no, multipart support is still lacking for zio http. Though zio http APIs change so much that I suppose you'd need to start from scratch anyway ;)