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

4.x: Proper handling of invalid Accept types #8669

Merged
merged 2 commits into from Apr 17, 2024

Conversation

spericas
Copy link
Member

@spericas spericas commented Apr 17, 2024

Description

Proper handling of invalid Accept types. If unable to parse any Accept header type, returns a 400 Bad Request error. See issue #8666.

Documentation

None

… to parse any Accept header type, immediately return a 406 Not Acceptable error code.
@spericas spericas added this to the 4.0.8 milestone Apr 17, 2024
@spericas spericas self-assigned this Apr 17, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 17, 2024
tjquinno
tjquinno previously approved these changes Apr 17, 2024
…ust metrics endpoints. Uses 400 Bad Request for both cases now. New tests.
@spericas spericas changed the title 4.x: Proper handling of invalid accept types in metrics feature 4.x: Proper handling of invalid accept types Apr 17, 2024
@spericas spericas changed the title 4.x: Proper handling of invalid accept types 4.x: Proper handling of invalid Accept types Apr 17, 2024
@spericas spericas merged commit 269712d into helidon-io:main Apr 17, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x metrics OCA Verified All contributors have signed the Oracle Contributor Agreement. webserver
Projects
Backlog
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

3 participants