Add missing built-in middleware CorsHandler to readme
All checks were successful
/ deploy (push) Successful in 17s
All checks were successful
/ deploy (push) Successful in 17s
This commit is contained in:
parent
bed505fbe2
commit
d031efb89f
1 changed files with 4 additions and 0 deletions
|
@ -189,6 +189,10 @@ Parse the search query and create a map with key->value in `ctx.query`.
|
|||
|
||||
Parse incoming request body as json and store it in `ctx.req.body`.
|
||||
|
||||
* `CorsHandler()`
|
||||
|
||||
A secure implementation for handling CORS requests.
|
||||
|
||||
* `FormidableHandler()`
|
||||
|
||||
Provides a wrapper to handle an incoming file upload using `Formidable@1`.
|
||||
|
|
Loading…
Reference in a new issue