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

RESTXQ: wrong status code when URL does not point to xquery #1104

Open
dizzzz opened this issue Aug 25, 2016 · 0 comments
Open

RESTXQ: wrong status code when URL does not point to xquery #1104

dizzzz opened this issue Aug 25, 2016 · 0 comments
Labels
enhancement new features, suggestions, etc.

Comments

@dizzzz
Copy link
Member

dizzzz commented Aug 25, 2016

When pointing to e.g. http://localhost:8888/exist/restxq/aaaaaaaaa status code 405 is returned:

clipboard01

The status code is misleading, since it suggests that one could use another HTTP method to interact with the same URL. But this is not true since there is no code to handle the request at all....

I'd vote for a 404.....

@dizzzz dizzzz added the enhancement new features, suggestions, etc. label Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new features, suggestions, etc.
Projects
None yet
Development

No branches or pull requests

1 participant