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

fix: allow default browser header #25885

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

praveen-influx
Copy link
Contributor

Although the format in the request is used, the value coming through the header is parsed earlier. So, when that lookup in the header fails an error is returned (InvalidMimeType).

In this commit, there are extra checks to allow the default Accept header values that come from the browser by defaulting it to json

closes: #25874

Although the `format` in the request is used, the value coming
through the header is parsed earlier. So, when that lookup in
the header fails an error is returned (`InvalidMimeType`).

In this commit, there are extra checks to allow the default `Accept`
header values that come from the browser by defaulting it to `json`

closes: #25874
@praveen-influx praveen-influx requested a review from a team January 21, 2025 13:34
Copy link
Contributor

@hiltontj hiltontj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me!
image

@praveen-influx praveen-influx merged commit 447f66d into main Jan 21, 2025
13 checks passed
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

Successfully merging this pull request may close these issues.

Should be able to query in a browser
2 participants