rdflib.js icon indicating copy to clipboard operation
rdflib.js copied to clipboard

Read the Node's value instead of the Node itself

Open Vinnl opened this issue 6 years ago • 1 comments

I'm not really quite sure what this code is supposed to do, but the way it's set up right now, it doesn't look like it would ever work. status appears to be an array of Nodes, so it will never be equal to 200 or 400 - we'd have to read the value for that.

Of course, if it never worked, the question is whether it should work. It appears to mark a Document as not editable if its status code was 200 or 404 - the former is the case for a Document that I think should be editable?

Vinnl avatar Oct 02 '19 10:10 Vinnl

Request from Tim: add tests.

Vinnl avatar Oct 08 '19 13:10 Vinnl