-
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
HTTP HEAD to @GET endpoint of (reactive) Jakarta RESTful web services sub resource returns 405 #43422
Comments
DeMol-EE
changed the title
Http HEAD to @GET endpoint of Jakarta RESTful web services returns 405
HTTP HEAD to @GET endpoint of Jakarta RESTful web services sub resource returns 405
Sep 20, 2024
/cc @FroMage (rest), @stuartwdouglas (rest) |
DeMol-EE
changed the title
HTTP HEAD to @GET endpoint of Jakarta RESTful web services sub resource returns 405
HTTP HEAD to @GET endpoint of (reactive) Jakarta RESTful web services sub resource returns 405
Sep 21, 2024
Thanks for the reproducer. #43440 fixes the issue |
geoand
added a commit
that referenced
this issue
Sep 23, 2024
Support `@HEAD` and `@OPTIONS` in sub-resources
mskacelik
pushed a commit
to mskacelik/quarkus
that referenced
this issue
Sep 27, 2024
This is the same exact support as exists for normal Resource methods Fixes: quarkusio#43422
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Oct 21, 2024
This is the same exact support as exists for normal Resource methods Fixes: quarkusio#43422 (cherry picked from commit 898b038)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have a
@GET
endpoint inside a Jakarta RESTful web services sub resource. Doing an HTTP HEAD request to it, I would expect to get a 2XX, but instead, I got a 405.Expected behavior
2XX
Actual behavior
405
How to Reproduce?
Run the test of this reproducer to see the failing case.
Output of
uname -a
orver
Darwin <..> 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64
Output of
java -version
OpenJDK 64-Bit Server VM Zulu21.28+85-CA (build 21+35, mixed mode, sharing)
Quarkus version or git rev
3.14.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
Additional information
No response
The text was updated successfully, but these errors were encountered: