AtomGraph / Processor

Ontology-driven Linked Data processor and server for SPARQL backends. Apache License.
https://hub.docker.com/r/atomgraph/processor/
Apache License 2.0
58 stars 6 forks source link

303 status on ResourceExistsException instead of 409? #28

Open namedgraph opened 3 years ago

namedgraph commented 3 years ago

When POST requests attempts to construct a resource that already exists, we throw ResourceExistsException which currently maps to a 409 Conflict error response.

HTTP spec seems to say that 303 See Other can be used: https://tools.ietf.org/html/rfc7231#section-4.3.3