koa-json-body icon indicating copy to clipboard operation
koa-json-body copied to clipboard

Allow `DELETE` bodies

Open andreyvital opened this issue 8 years ago • 0 comments

As per on: https://tools.ietf.org/html/rfc7231#section-4.3.5.

Bodies on DELETE requests have no defined semantics. Note that sending a body on a DELETE request might cause some existing implementations to reject the request.

My understanding is that we can support bodies on DELETE requests (HTTP/1.1) since the spec doesn't explicitly state that we shouldn't.

andreyvital avatar Apr 22 '17 14:04 andreyvital