Skip to content

REGR: SPARQL DESCRIBE query returning status 406 instead of empty #234

@MayankBhatnagar89

Description

@MayankBhatnagar89

Build : 20160302

Test name : nodejs-sparql.js

Code :

it('should run SPARQL DESCRIBE query return empty', function (done) {
this.timeout(10000);
var myQuery = "describe http://people.org/person1133423";
db.graphs.sparql({
contentType: 'application/json',
query: myQuery
}).
result(function (response) {
response.results.bindings.length.should.equal(0);
done();
});

});

Error :

{ errorResponse:
{ statusCode: 406,
status: 'Unacceptable Type',
messageCode: 'REST-UNACCEPTABLETYPE',
message: 'REST-UNACCEPTABLETYPE: (err:FOER0000) No acceptable content type: None of the requested types application/json can be provided'

} } }

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions