pycsw icon indicating copy to clipboard operation
pycsw copied to clipboard

record not found and ?f=xml

Open pvgenuchten opened this issue 1 year ago • 0 comments

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

pvgenuchten avatar Aug 15 '24 11:08 pvgenuchten