From a85889e6c6508f2bde76d005bd584d19c2a05465 Mon Sep 17 00:00:00 2001 From: dead_horse Date: Sat, 9 Aug 2014 13:39:36 +0800 Subject: [PATCH] docs: add ctx.headers alias --- docs/api/context.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/context.md b/docs/api/context.md index bece061..708435e 100644 --- a/docs/api/context.md +++ b/docs/api/context.md @@ -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`