Commit Graph

18 Commits

Author SHA1 Message Date
Qiming zhao 14cdfb7fc4 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.
2014-02-14 13:42:04 +08:00
Jonathan Ong abb5686d5b docs: add note about confusing context accessors 2014-02-13 18:23:45 -08:00
Jonathan Ong 2bc3bb7327 this.respond=false for bypassing koa's response handling
closes #198
2014-01-24 14:38:40 -08:00
TJ Holowaychuk 26fb6a138a add ctx.host= delegate 2014-01-07 17:22:46 -08:00
Jonathan Ong d9e56b901d docs: clarify node response property support 2013-12-30 22:08:56 -08:00
Jonathan Ong 969614dba1 docs: manual responses are not supported
closes #145
2013-12-26 00:11:14 -08:00
Jonathan Ong 86effcd5c6 docs: move context aliases below context-specific stuff 2013-12-24 22:59:55 -08:00
nicoder 46163dba03 fix typo 2013-12-22 13:26:30 +01:00
TJ Holowaychuk 5eb53a7f7a add docs for .throw() additions 2013-12-20 15:34:48 -08:00
Mathieu Gallé-Tessonneau bf3e155d4b fix typo 2013-12-20 11:10:31 +01:00
Hugh Kennedy 098dac5a59 Fix typo
s/requivalent/equivalent/g
2013-12-20 11:23:29 +11:00
TJ Holowaychuk c132b83bc9 docs: add context example 2013-12-18 20:35:38 -08:00
Jonathan Ong e83e0022dd docs context: fix markdown jank
breaks your styling, but your markdown styling creates bad list outputs
2013-12-18 01:31:33 -08:00
Jonathan Ong 6b33d4d1ae docs context: throw defaults to 500 2013-12-18 01:30:27 -08:00
TJ Holowaychuk 8e10f12d38 add ctx.remove() and res.remove(). Closes #100 2013-11-24 05:06:35 -08:00
Jonathan Ong 9d7dd437d7 context delegates: response.lastModified and response.etag
only doing setters because i think getters would be pretty confusing.
2013-11-20 14:09:49 -08:00
Jonathan Ong dc873d66e2 docs: add res.lastModified and res.etag among other things 2013-11-19 22:40:52 -08:00
TJ Holowaychuk c699c75c52 add koa Request / Response objects and delegation. Closes #52 2013-11-13 09:01:15 -08:00