This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Move delete
to be method with body. #8567
Closed
Description
http://tools.ietf.org/html/rfc7231
This states:
A payload within a DELETE request message has no defined semantics;
sending a payload body on a DELETE request might cause some existing
implementations to reject the request.
So shouldn't delete
be removed from:
createShortMethods('get', 'delete', 'head', 'jsonp');
And added to:
createShortMethodsWithData('post', 'put', 'patch');
(discussion doesn't include how a server may or may not handle this type of request)
This is in regards to:
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
In June 2014, the WG released an updated six-part specification obsoleting RFC 2616