Merge branch 'master' of github.com:koajs/koa
This commit is contained in:
commit
c5ecbd99ac
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
## Application
|
||||
|
||||
A Koa application is not a 1-to-1 representation of an HTTP server,
|
||||
|
@ -446,7 +445,7 @@ this.body = 'Redirecting to shopping cart';
|
|||
to prompt for download. Optionally specify the `filename` of the
|
||||
download.
|
||||
|
||||
### ctx.accept(types)
|
||||
### ctx.accepts(types)
|
||||
|
||||
Check if the given `type(s)` is acceptable, returning
|
||||
the best match when true, otherwise `undefined`, in which
|
||||
|
|
Loading…
Reference in a new issue