Skip to content
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

Request with Accept header to application/json returns 406 #26

Open
snicoll opened this issue Dec 11, 2024 · 0 comments
Open

Request with Accept header to application/json returns 406 #26

snicoll opened this issue Dec 11, 2024 · 0 comments

Comments

@snicoll
Copy link
Collaborator

snicoll commented Dec 11, 2024

I don't know if that's intended. It seems inconsistent to me at the very least. The following calls with an Accept header set to application/json fail with a 406:

However calling https://api.spring.io/projects/spring-boot/releases work.

I am not sure it is worth rejecting anything that doesn't ask specifically for HAL but if we do it, then I believe the releases endpoint should reject such request as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant