Commit Graph

111 Commits (d740d9b2b1a5104e95f203e5ca09819979bc7f4a)

Author SHA1 Message Date
TJ Holowaychuk 4c2410d19c docs 2013-12-17 23:47:14 -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
TJ Holowaychuk 8e10f12d38 add ctx.remove() and res.remove(). Closes #100 2013-11-24 05:06:35 -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 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
Jonathan Ong 0362c8e457 add app.keys support 2013-11-15 10:04:07 -08:00
TJ Holowaychuk c699c75c52 add koa Request / Response objects and delegation. Closes #52 2013-11-13 09:01:15 -08:00