Commit graph

105 commits

Author SHA1 Message Date
Jonathan Ong
abb5686d5b docs: add note about confusing context accessors 2014-02-13 18:23:45 -08:00
TJ Holowaychuk
aa08845c70 remove app.jsonSpaces setting. Closes #202 2014-01-31 18:39:47 -08:00
Jonathan Ong
2bc3bb7327 this.respond=false for bypassing koa's response handling
closes #198
2014-01-24 14:38:40 -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
26fb6a138a add ctx.host= delegate 2014-01-07 17:22:46 -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
bafc0109fc Update response.md 2014-01-04 12:11:03 -08:00
Jonathan Ong
aa50c8ba7a docs: update docs on res.status and res.body 2014-01-04 02:05:05 -08:00
Jonathan Ong
26f0d16644 docs: cleanup middleware guide, including TJ's yoda-style conditionals
changes on top of 789c30f926. closes
#158, closes #157
2013-12-30 22:20:32 -08:00
Matthew Chase Whittemore
789c30f926 adding docs on how to add multiple middleware at once. #157 2013-12-30 22:08:56 -08:00
Jonathan Ong
d9e56b901d docs: clarify node response property support 2013-12-30 22:08:56 -08:00
Jonathan Ong
7ee4f43dc0 docs: add debugging and ._name docs 2013-12-29 22:16:04 -08:00
Debjeet Biswas
e492899443 Fix typo in api/index.md
* `negotation` to `negotiation`
2013-12-30 05:06:49 +05:30
Johan Bergström
c6c375c252 Benchmarks: Table-fy
Had to un-indent text for the GFM markdown to accept the table. Not sure what to do with rest of the file, so I'll leave it open.

`benchmark/` probably needs some love if we expect it to generate
similar output. Even without it, I still think the most readable for end-users.
is the best possible result.
2013-12-28 17:07:00 +11:00
TJ Holowaychuk
3891e1787b docs: more benchmark stuff 2013-12-26 11:03:47 -08:00
TJ Holowaychuk
064a7b8fc1 docs: update koa vs express benchmark stuff 2013-12-26 11:02:26 -08:00
Jonathan Ong
40c64a37d7 docs: koa vs express draft 2013-12-26 00:31:01 -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
yosssi
b047805f9e Fixed the link url to the list of middlewares on docs/api/index.md. 2013-12-24 21:13:42 +09:00
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
Darren Cauthon
17ed10a91c Fix word 2013-12-19 15:59:00 -06:00
TJ Holowaychuk
d87af72f21 docs 2013-12-19 13:38:51 -08:00
TJ Holowaychuk
fefb3c59ae docs: add "why is this not express 4.0" to FAQ 2013-12-19 08:56:41 -08:00
TJ Holowaychuk
a58e38454f Merge branch 'master' of github.com:koajs/koa 2013-12-19 08:47:44 -08:00
TJ Holowaychuk
c90369d2df docs: add routing to FAQ 2013-12-19 08:47:40 -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
6761caa09d docs: more faq 2013-12-18 23:08:50 -08:00
TJ Holowaychuk
9812aff8d2 docs: more faq 2013-12-18 23:08:14 -08:00
TJ Holowaychuk
9e131089d3 docs: add performance impact to FAQ 2013-12-18 23:03:11 -08:00
TJ Holowaychuk
8a7554525b docs: faq 2013-12-18 22:54:56 -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
TJ Holowaychuk
bed70f4716 docs 2013-12-18 20:09:17 -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