Commit Graph

16 Commits

Author SHA1 Message Date
TJ Holowaychuk e56f442222 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
2014-02-14 09:40:58 -08:00
TJ Holowaychuk 785aba879c add request.charset 2014-02-14 09:38:59 -08:00
Jonathan Ong 7e66aca8c3 better content negotiation docs
closes #193
2014-01-18 14:22:53 -08:00
pana 30d200dc09 remove the vary method from request object 2014-01-17 18:19:51 +08:00
pana 420a6154bc update document 2014-01-17 16:30:35 +08:00
TJ Holowaychuk 43a8c12028 docs for req.host= 2014-01-07 17:21:43 -08:00
jeromew 93351bf845 Add req.host= 2014-01-07 21:09:01 +00:00
Jonathan Ong 039805265f docs request: typo 2013-12-18 23:47:48 -08:00
TJ Holowaychuk 97a3d84ec9 docs 2013-12-17 23:53:58 -08:00
TJ Holowaychuk a2582e7aa3 change req.is() to return the canonical mime type 2013-11-28 12:47:23 -08:00
Jonathan Ong 8717a3ad2b req.is(): make better
closes #105 and #106
2013-11-28 00:13:16 -08:00
Jonathan Ong e2cd1f02ca docs: req.accepts(): throw a 406 2013-11-20 18:06:45 -08:00
Jonathan Ong 1d38d4acd1 req.accepts: default to first 'type' 2013-11-20 18:00:24 -08:00
Jonathan Ong 5ae3f4eb30 req.acceptsEncodings: default to 'identity' 2013-11-20 17:46:11 -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