-
Notifications
You must be signed in to change notification settings - Fork 3k
Labels
Milestone
Description
Description
Quarkus supports MultipartFormDataOutput in Resteasy and in REST-Reactive as well.
Both APIs are very similar, but lack the Option to add HTTP-Header params in the addFormData-Method.
Adding extra http-headers to an input-part is quite useful for adding metadata to binary data.
What you can do of course is the following:
formDataOutput.getAllFormData().get("documents").get(i).getHeaders().add("Content-ID", file.tagName());
But this is pretty unconvenient. Therefore it would be nicer to to add params directly.
The same goes with REST-Reactives FileUpload/FilePart interface as it has no method to get Headers for an input-part.
Implementation ideas
No response