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

record not found and ?f=xml #1001

Open
pvgenuchten opened this issue Aug 15, 2024 · 0 comments
Open

record not found and ?f=xml #1001

pvgenuchten opened this issue Aug 15, 2024 · 0 comments

Comments

@pvgenuchten
Copy link
Contributor

when requesting a non existing record with a f=xml
pycsw returns a json response (not found), but with a xml content-type header

in a brwoser this causes an ugly error:
image

suggestion is to return either json-contenttype header type or relevant xml content

see example

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