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

View file

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