Closed mguentner closed 5 years ago
the application renders HTTP 200 for all successful requests, however for POST 201 and for DELETE 204 make more sense.
Also see https://github.com/buzzn/core/tree/http-status-405 for 405 instead of 404 if a method with the same route exist.
@mguentner see https://github.com/buzzn/core/blob/master/lib/buzzn/roda/helpers/serializer.rb#L11-L17 and find out where this is not sufficient. all endpoints test the status as well.
the application renders HTTP 200 for all successful requests, however for POST 201 and for DELETE 204 make more sense.
Also see https://github.com/buzzn/core/tree/http-status-405 for 405 instead of 404 if a method with the same route exist.