You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting response headers as shown below does not work when the resource is annotated with @Produces(MediaType.SERVER_SENT_EVENTS) or @RestStreamElementType(MediaType.APPLICATION_JSON).
geoand
changed the title
Stetting headers for SSE annotated Multi resources is ignoring headers.
Setting headers for SSE annotated Multi resources is ignoring headers.
Dec 3, 2024
geoand
changed the title
Setting headers for SSE annotated Multi resources is ignoring headers.
Setting headers for SSE annotated Multi resources is ignoring headers
Dec 4, 2024
Describe the bug
Setting response headers as shown below does not work when the resource is annotated with
@Produces(MediaType.SERVER_SENT_EVENTS)
or@RestStreamElementType(MediaType.APPLICATION_JSON)
.See also #44898 (comment)
Expected behavior
headers are set as in
Actual behavior
header is ignored
How to Reproduce?
I will provide a draft PR with a unit test.
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: