docs: clarify node response property support

This commit is contained in:
Jonathan Ong 2013-12-30 22:07:22 -08:00
parent c4e9f6da33
commit d9e56b901d

View file

@ -35,7 +35,12 @@ app.use(function *(){
Node's `response` object.
Note: bypassing Koa's response handling and calling `res.writeHead()`, `res.write()` or `res.end()` is __not__ supported.
Bypassing Koa's response handling is __not supported__. Avoid using the following node properties:
- `res.statusCode`
- `res.writeHead()`
- `res.write()`
- `res.end()`
### ctx.request