Release 4.0.0
[skip ci]
4.0.0 (2024-06-23)
⚠ BREAKING CHANGES
- drop Node.js < 18.19.0 support
part of https://github.com/eggjs/egg/issues/3644
https://github.com/eggjs/egg/issues/5257
Features
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
koa-override
Method override middleware. Let you use HTTP verbs such as PUT or DELETE in places where the client doesn’t support it.
Refactor from koa-override-method#5
Install
Usage
API
const mw = override([options])
If
bodyexists, checkbody._methodfirst. Otherwise checkX-HTTP-Method-Overrideheader.If there is no override parameter, then it’s simply
this.request.method. You shouldn’t use this unless you know you’re using override.options.allowedMethods = [ 'POST' ]Only allowed override method onPOSTrequest.License
MIT
Contributors
Made with contributors-img.