-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
RESTEasy Reactive - support binary content streaming with header control #26523
Comments
You added a link to a Zulip discussion, please make sure the description of the issue is comprehensive and doesn't require accessing Zulip.
|
/cc @FroMage, @geoand, @stuartwdouglas |
Thanks for reporting. I would say that supporting |
Well, the type is far from ideal, for sure. But I can think of cases where this is required, for example if the header data comes from the DB (size, file name) and the content is then streamed from FS or online storage or whatever. So unfortunately it makes a lot of sense :( |
#33197 introduces |
Description
Summary - Quarkus RESTEasy Reactive should natively support
Uni<RestResponse<Multi<byte[]>>>
Description
I am using the solution outlined here for streaming binary content using
Multi<byte[]>
.It is essential that the response and headers can be set dynamically. For example
Content-Type
andETag
. The latter allows dynamically sending304 Not Modified
on any later duplicate requests.There has been discussion about this on Zulip.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: