You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
koa-body should not blacklist DELETE method for body parsing.
Per RFC 7231 and the HTTP 1.1 specification, it is permitted to send a body with a DELETE request. In order to enable parsing of request bodies for DELETE methods, we have to wholesale disable strict mode, which means we're parsing it for GET and HEAD too - this is not a good solution.
The text was updated successfully, but these errors were encountered:
koa-body should not blacklist DELETE method for body parsing.
Per RFC 7231 and the HTTP 1.1 specification, it is permitted to send a body with a DELETE request. In order to enable parsing of request bodies for DELETE methods, we have to wholesale disable strict mode, which means we're parsing it for GET and HEAD too - this is not a good solution.
The text was updated successfully, but these errors were encountered: