-
Notifications
You must be signed in to change notification settings - Fork 400
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
Pass metadata when using HttpCodec.binaryStream #3135
Comments
I think the cleanest way is probably this
|
Why not just use the headers in the codec? For content length / type? |
@jdegoes this content type and length is part of the body, not the headers. We are talking about multipart
|
Ah, multi-part. Can we have direct support for What I mean by that is, if a user needs to handle form data in a low-level way, accessing content-type and other settings, then perhaps the body type can be This would also allow users to write generic code that can handle any multi-part forms. @brndt Would that satisfy your need? @987Nabil Thoughts? |
What is not easy to do right now?
Right now using HttpCodec.binaryStream doesn't allow you to pass the metadata such as content type and content length (amongst other stuff) to
implements
method. It would be great to have all the information that you have when working with the plain Binary FormFieldThe text was updated successfully, but these errors were encountered: