Commit Graph

32 Commits (b56531f75d558c3670ed6881031eca31f99acb41)

Author SHA1 Message Date
TJ Holowaychuk cfeefac191 docs: typo 2013-12-22 07:33:37 -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
superchink 10ea872065 Fix typo of "middleware" in index.md
Originally submitted pull request to wrong repo; sorry!
2013-12-19 14:28:31 -08:00
TJ Holowaychuk d87af72f21 docs 2013-12-19 13:38:51 -08:00
Jonathan Ong 2f4163f6e6 docs app: some copy changes and typo fixes 2013-12-18 23:56:26 -08:00
Jonathan Ong 0c024c48a8 docs response: fix redirect for correctness
do we want to check if the body is already set?
2013-12-18 23:51:51 -08:00
Jonathan Ong e00f2aee9d docs response: fix md list jank 2013-12-18 23:48:45 -08:00
Jonathan Ong 039805265f docs request: typo 2013-12-18 23:47:48 -08:00
TJ Holowaychuk 0e4545c03b docs 2013-12-18 22:45:33 -08:00
TJ Holowaychuk 4923688944 docs: explain middleware cascading a bit
hopefully this sort of makes sense, need that gif fixed
2013-12-18 22:41:27 -08:00
TJ Holowaychuk c132b83bc9 docs: add context example 2013-12-18 20:35:38 -08:00
TJ Holowaychuk 0ae852be03 Merge branch 'master' of github.com:koajs/koa 2013-12-18 20:24:49 -08:00
TJ Holowaychuk c1ed85361b add hello world and app intro
meh not a fan of what im writing today but gotta get this thing out
2013-12-18 20:24:41 -08:00
TJ Holowaychuk c55ef32978 docs: move app.listen() stuff lower 2013-12-18 20:12:12 -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 97a3d84ec9 docs 2013-12-17 23:53:58 -08:00
TJ Holowaychuk dc20952996 remove some awkward docs
reads bad on the site
2013-12-17 23:50:19 -08:00
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