Skip to content

Change the HTTP reponse code voor DELETE requests to "204 No Content" #23

@mbusger

Description

@mbusger

Type of request

  • I'd like to add something to the OTM 5 spec
  • I'd like to change something in the OTM 5 spec

Is your feature request related to a problem?
In the current situation, whenever I receive a DELETE request, I can not both delete the actual object and return it as the response of the request.

Describe the solution you'd like
Whenever a DELETE request is sent to a server, the server can process it and send back a "204 No Content" without an actual payload.

Describe alternatives you've considered
I've considered to save the payload of the request and just send that back whenever a DELETE request comes in, but seeing as this payload has no value whatsoever (as the object in question gets deleted anyway) it seems unneccesary to also return the object as payload when you receive a DELETE request.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    OTM 5.3This ticket is included in OTM 5.3enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions