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

user.valid should check for empty body #257

Open
jmrog opened this issue Mar 22, 2021 · 0 comments
Open

user.valid should check for empty body #257

jmrog opened this issue Mar 22, 2021 · 0 comments
Labels

Comments

@jmrog
Copy link
Contributor

jmrog commented Mar 22, 2021

Since stardog.js ought to know the Stardog API, it ought to know that the endpoint for the user.valid call responds with an empty body, and it therefore ought to check that this is the case. This prevents weird cases where you get a "200" response to the user.valid call that actually isn't a real success (e.g., a case where you have a web server running at localhost that responds with a 200 for arbitrary URLs, but the body isn't empty because it serves up the index file or something like that).

@jmrog jmrog added the bug label Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant