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

Commits on Apr 17, 2024

  1. Proper handling of invalid accept types in metrics feature. If unable…

    … to parse any Accept header type, immediately return a 406 Not Acceptable error code.
    spericas committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    0d1a70f View commit details
    Browse the repository at this point in the history
  2. Generalizes handling of invalid accept types to normal request, not j…

    …ust metrics endpoints. Uses 400 Bad Request for both cases now. New tests.
    spericas committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    25572c6 View commit details
    Browse the repository at this point in the history