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
When using org.jboss.resteasy.reactive.NoCache without attributes (not using the fields attribute), response headers do not contain Cache-Control: no-cache header.
package org.acme;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import org.jboss.resteasy.reactive.NoCache;
@Path("/hello")
public class NoCacheResource {
@GET
@NoCache
public String hello() {
return "hello";
}
}
Describe the bug
When using
org.jboss.resteasy.reactive.NoCache
without attributes (not using thefields
attribute), response headers do not containCache-Control: no-cache
header.This is also inconsistent with the documentation:
https://quarkus.io/guides/resteasy-reactive#controlling-http-caching-features
Expected behavior
Response:
Actual behavior
Response:
How to Reproduce?
resteasy-reactive-nocache-reproducer.zip
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.2.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Additional information
No response
quarkusio#19822
The text was updated successfully, but these errors were encountered: