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

allow additional GeoJSON MIME type #828

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

mjaschen
Copy link
Contributor

@mjaschen mjaschen commented Oct 14, 2024

The MIME type for GeoJSON registered with IANA is application/geo+json, replacing the old value application/vnd.geo+json. The change was published with RFC 7946 in 2016.

BRouter reponses changed to application/geo+json in recent versions.

With this commit BRouter-Web accepts either of both MIME type strings in BRouter responses.

The MIME type for GeoJSON registered with IANA is application/geo+json`,
replacing the old value `application/vnd.geo+json`. The change was
published with RFC 7946 in 2016.

BRouter reponses changed to `application/geo+json` in recent versions.

With this commit BRouter-Web accepts either of both MIME type strings in
BRouter responses.
@bagage
Copy link
Collaborator

bagage commented Oct 14, 2024

Thanks! 👍

@bagage bagage merged commit babd154 into nrenner:master Oct 14, 2024
1 check 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.

2 participants