refactor request docs to use this.request

maybe we should do this with all of them, but then we might
need a section showing ctx.* stuff, people might miss the aliasing all together
This commit is contained in:
TJ Holowaychuk 2014-02-14 09:40:58 -08:00
parent 785aba879c
commit e56f442222

View file

@ -69,7 +69,7 @@
Get request `Content-Type` void of parameters such as "charset".
```js
var ct = this.type;
var ct = this.request.type;
// => "image/png"
```
@ -78,7 +78,7 @@ var ct = this.type;
Get request charset when present, or `undefined`:
```js
this.charset
this.request.charset
// => "utf-8"
```