PDOK/goaf

Fail according to spec on requests with invalid content-type

Opened this issue · 0 comments

See Requirement 9 /req/core/query-param-invalid: The server SHALL respond with a response with the status code 400, if the request URI includes a query parameter that has an invalid value.

Two known issues (possibly more):

  • goaf defaults to respond with json even if an invalid content-type is requested
  • requesting non-existing collections respoonds with 200 response