Client Explicitly Requesting an Empty Body

Hi,

Is there a mechanism for an HTTP client to request that the server
return an empty body after performing a requested operation? I
searched specs & mailing list archives to no avail.

For instance, a PATCH on /resource/:id where the client only cares
that the operation succeeded, but explicitly does not want the
resource representation returned in the response body (e.g. because it
will be a large response body and the client is on a limited-bandwidth
connection). I would expect such a response to return a 204 No Content
status.

If there is no such current mechanism, would one be considered? One
possibility would be an `Accept: none` header from the client.

Thanks.

Received on Wednesday, 24 June 2015 16:57:48 UTC