Open jaredleechn opened 7 years ago
fetch('/somePath', { method: 'delete' });
content-length
The delete request with no body should contains header content-length: 0 like other verbs
content-length: 0
the bug fail the hasBody check of a http request from package type-is, which is dependent by koa.js
type-is
reproduce
content-length
in the request headerexpect
The delete request with no body should contains header
content-length: 0
like other verbs