[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1436) Relax constraint that DELETE Cannot return data
Michael Pizzo created ODATA-1436: ------------------------------------ Summary: Relax constraint that DELETE Cannot return data Key: ODATA-1436 URL: https://issues.oasis-open.org/browse/ODATA-1436 Project: OASIS Open Data Protocol (OData) TC Issue Type: New Feature Components: Protocol Affects Versions: V4.01_OS Environment: Proposed Reporter: Michael Pizzo Fix For: V4.01_ERRATA01 The current wording in [11.4.5 Delete an Entity](http://docs.oasis-open.org/odata/odata/v4.01/os/part1-protocol/odata-v4.01-os-part1-protocol.html#sec_DeleteanEntity) in [Protocol] states: On successful completion of the delete, the response MUST be 204 No Content and contain an empty body. This is overly restrictive. HTTP allows Delete to return a response, and since we added a preference header for clients to request a response from requests that typically may not return responses, we should allow clients to request, and services to return, responses from DELETE (i.e., if return=representation preference is specified). The response should be a representation of the deleted entity. -- This message was sent by Atlassian Jira (v8.3.3#803004)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]