docs: add ctx.headers alias

This commit is contained in:
dead_horse 2014-08-09 13:39:36 +08:00
parent f6626967b2
commit a85889e6c6

View file

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