-
Notifications
You must be signed in to change notification settings - Fork 412
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
Multipart form data server support #1559
Comments
It looks it needs to be added here https://github.com/zio/zio-http/blob/main/zio-http/src/main/scala/zio/http/netty/server/ServerInboundHandler.scala#L124 |
I will work on it |
There are two ways we can implement it —
We can also decode a FullHttpRequest or an HttpRequest where the body is a stream. In my opinion, we should move fast on this issue by implementing a non-streaming solution first and decoding it with netty's multipart decoder. That will perform the decoding in memory at once. So it won't work for very large files, but at least build some multipart support in the library. |
hi, my friends. any update? |
Is your feature request related to a problem? Please describe.
Server can accept and parse Multipart form data requests.
Describe the solution you'd like
Something nice
Describe alternatives you've considered
We can either use https://netty.io/4.0/api/io/netty/handler/codec/http/multipart/InterfaceHttpPostRequestDecoder.html or parse it ourselves in ZIO streams.
The text was updated successfully, but these errors were encountered: