fix doc, getter of type is delegated to request

Same kind of confusing thing as #215 mentioned, user have to remember that getters and setters of the `length` and `type` property are different.
This commit is contained in:
Qiming zhao 2014-02-14 13:42:04 +08:00
parent c7ff0e2ac1
commit 14cdfb7fc4
1 changed files with 2 additions and 2 deletions

View File

@ -126,6 +126,7 @@ throw err;
- `ctx.querystring` - `ctx.querystring`
- `ctx.querystring=` - `ctx.querystring=`
- `ctx.length` - `ctx.length`
- `ctx.type`
- `ctx.host` - `ctx.host`
- `ctx.host=` - `ctx.host=`
- `ctx.fresh` - `ctx.fresh`
@ -152,7 +153,6 @@ throw err;
- `ctx.status` - `ctx.status`
- `ctx.status=` - `ctx.status=`
- `ctx.length=` - `ctx.length=`
- `ctx.type`
- `ctx.type=` - `ctx.type=`
- `ctx.headerSent` - `ctx.headerSent`
- `ctx.redirect()` - `ctx.redirect()`
@ -160,4 +160,4 @@ throw err;
- `ctx.set()` - `ctx.set()`
- `ctx.remove()` - `ctx.remove()`
- `ctx.lastModified=` - `ctx.lastModified=`
- `ctx.etag=` - `ctx.etag=`