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

Disable json mimetype header validation #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaxWinterstein
Copy link

Warning: untested!

As some webservers / reverse proxies seem to deliver the wrong Content-Type for the aircraft.json we should disable the verification of this.

The aiohttp documentation about this can be seen here: https://docs.aiohttp.org/en/stable/client_advanced.html#disabling-content-type-validation-for-json-responses

Related issues e.g.

#22

Thom-x/docker-fr24feed-piaware-dump1090#120

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.

None yet

1 participant