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

[ogcapi:records] on /items endpoint, when requested items?f=xml, json is returned but with a xml content type #1049

Open
pvgenuchten opened this issue Dec 3, 2024 · 0 comments

Comments

@pvgenuchten
Copy link
Contributor

pvgenuchten commented Dec 3, 2024

Description

when requesting /items endpoint in xml format, content type is set to xml, even when json is returned

image

this throws a generic error in browser

image

Solution:

set proper json contenttype (or return xml)

@pvgenuchten pvgenuchten changed the title [ogcapi:records] on /items endpoint, whn requested items?f=xml, json is returned but with a xml content type [ogcapi:records] on /items endpoint, when requested items?f=xml, json is returned but with a xml content type Dec 3, 2024
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

No branches or pull requests

1 participant