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

use content type text/plain #18281

Merged
merged 2 commits into from
Jan 19, 2025
Merged

Conversation

Maschga
Copy link
Contributor

@Maschga Maschga commented Jan 19, 2025

Hi,
the /health-Api responds with a simple OK while the content type is specified as application/json:
brwoser
headers
Therefore I added the correct content type text/plain.
~Maschga

@Maschga Maschga closed this Jan 19, 2025
@Maschga Maschga reopened this Jan 19, 2025
@andig
Copy link
Member

andig commented Jan 19, 2025

Komisch- siehst du wo app/json generiert wird?

@andig andig added the enhancement New feature or request label Jan 19, 2025
@Maschga
Copy link
Contributor Author

Maschga commented Jan 19, 2025

Ich konnte nichts finden, deshalb habe ich angenommen, dass das irgendwo intern als Default gesetzt ist.

@andig
Copy link
Member

andig commented Jan 19, 2025

Ah, das passiert in RegisterSiteHandlers

@andig andig merged commit d040212 into evcc-io:master Jan 19, 2025
12 checks passed
@Maschga Maschga deleted the use-correct-content-type branch January 19, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants