Support for HTTP HEAD

Description

The following is mandated by SPARQL Graph Store Protocol ("When used in this protocol, the HTTP HEAD method is identical to GET"), but fails:

$ curl -iX HEAD http://localhost:8080/openrdf-sesame/repositories/SYSTEM/rdf-graphs
HTTP/1.1 500 Internal Server Error

Further, the following also return incorrect results (should be 405 or, better, normally expected HTTP behaviour):

$ curl -iX HEAD http://localhost:8080/openrdf-sesame/repositories
HTTP/1.1 500 Internal Server Error

$ curl -iX HEAD http://localhost:8080/openrdf-sesame/repositories/SYSTEM
HTTP/1.1 500 Internal Server Error

$ curl -iX HEAD
http://localhost:8080/openrdf-sesame/repositories/SYSTEM/statements
HTTP/1.1 500 Internal Server Error

Environment

None

Status

Assignee

Jeen Broekstra

Reporter

Barry Norton

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure