docs: add ctx.headers alias

master
dead_horse 2014-08-09 13:39:36 +08:00
parent f6626967b2
commit a85889e6c6
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ this.throw(401, 'access_denied', { user: user });
The following accessors and alias [Request](request.md) equivalents:
- `ctx.header`
- `ctx.headers`
- `ctx.method`
- `ctx.method=`
- `ctx.url`