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

Invalid behaviour on HTTP 400 error responses #4

Open
cordawyn opened this issue Feb 3, 2021 · 0 comments
Open

Invalid behaviour on HTTP 400 error responses #4

cordawyn opened this issue Feb 3, 2021 · 0 comments

Comments

@cordawyn
Copy link

cordawyn commented Feb 3, 2021

When using a SPARQL endpoint for document location, RDF Editor pops up an authentication dialog in case of HTTP 400 error response from the endpoint. For example, RDF4J server responds with HTTP 400 error in case of SPARQL syntax errors in the request (with the body containing the explanation/error details).

I suspect that RDF Editor might show the authentication dialog on any 4xx errors, while it should do so only in case of 401. Perhaps, when encountering other 4xx errors, it should show the error pop-up (as it already does), but with the response body contents, to give users some idea why the error occurred.

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