Skip to content

Support content negotiation for error responses #508

@dmitrizagidulin

Description

@dmitrizagidulin

Currently, node-solid-server only supports returning errors with Content-Type: text/html.
Add support for some other error content types (based on the request Accept: header, etc).

  1. Decide which error formats to support (JSON, Turtle?).
  2. For Turtle errors, pick an appropriate error ontology
  3. For JSON errors, pick appropriate format/RFC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    revisitNot a current priority, reconsider later

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions