Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Fail according to spec on requests with invalid content-type #27

Open
arbakker opened this issue Jun 23, 2021 · 0 comments
Open

Fail according to spec on requests with invalid content-type #27

arbakker opened this issue Jun 23, 2021 · 0 comments

Comments

@arbakker
Copy link
Contributor

arbakker commented Jun 23, 2021

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant