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:
parent
c7ff0e2ac1
commit
14cdfb7fc4
1 changed files with 2 additions and 2 deletions
|
@ -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=`
|
||||
|
|
Loading…
Reference in a new issue