TJ Holowaychuk
a9ae563051
add cookie docs
2013-11-06 14:09:19 -08:00
TJ Holowaychuk
11913f5e4e
add ctx.body= setter
...
this prevents a bunch of redundant checks that middleware may need to
check response length, type etc. the less code floating around based
on our supported response body types the better, giving us more freedom
to change these as needed, and just less error-prone code in general.
2013-09-14 15:54:17 -07:00
TJ Holowaychuk
c5ecbd99ac
Merge branch 'master' of github.com:koajs/koa
2013-09-14 14:48:43 -07:00
TJ Holowaychuk
04f4d72692
add charset support to ctx.type=
2013-09-14 14:48:33 -07:00
Chris Tarquini
886a292a51
Fixed typo
...
`ctx.accept` -> `ctx.accepts`
2013-09-14 12:53:36 -04:00
TJ Holowaychuk
d7403552b9
docs
2013-09-13 20:38:45 -07:00
TJ Holowaychuk
6db24f9fac
change ctx.error() to flag as err.expose
...
meaning the application could respond with this message if it likes
2013-09-12 08:01:40 -07:00
TJ Holowaychuk
28b5b85860
add socket error handling docs
2013-09-08 12:02:59 -07:00
TJ Holowaychuk
02ae4f787d
fix socket "error" handling
...
always has clientError now
2013-09-08 11:27:16 -07:00
TJ Holowaychuk
2733c61d00
docs
2013-09-02 19:31:11 -07:00
TJ Holowaychuk
a79bfe3329
docs
2013-09-02 19:18:48 -07:00
TJ Holowaychuk
6eb92c3bd1
docs
2013-09-02 19:18:37 -07:00
TJ Holowaychuk
74c452a93f
docs
2013-09-02 19:18:10 -07:00
TJ Holowaychuk
b132484dcf
docs
2013-09-02 19:17:49 -07:00
TJ Holowaychuk
33221d6574
docs
2013-09-02 19:17:29 -07:00
TJ Holowaychuk
4a0c55cc96
docs
2013-09-02 19:13:47 -07:00
TJ Holowaychuk
c6dc504ce8
docs
2013-09-02 19:05:49 -07:00
TJ Holowaychuk
5459fb8c55
docs
2013-09-02 18:27:47 -07:00
TJ Holowaychuk
60eb2edb86
add guide
2013-09-02 18:25:17 -07:00
TJ Holowaychuk
a1edb2fe7c
add docs for error ctx
2013-08-31 09:18:43 -07:00
TJ Holowaychuk
e21938a136
docs
2013-08-27 20:56:17 -07:00
TJ Holowaychuk
5cc50ef2c8
docs
2013-08-27 20:29:18 -07:00
TJ Holowaychuk
b047405cc5
add Context#hasContent
2013-08-27 19:30:35 -07:00
TJ Holowaychuk
3e0599851a
docs
2013-08-27 14:50:20 -07:00
TJ Holowaychuk
6fb32165e3
fix .status= case sensitivity
2013-08-22 21:10:59 -07:00
TJ Holowaychuk
9d7720f2d8
change .outputErrors to false for "test" env only
...
good to know in prod ;)
2013-08-21 19:48:47 -07:00
TJ Holowaychuk
f32c3540f4
docs
2013-08-20 22:16:53 -07:00
TJ Holowaychuk
20b2c9ff4a
add FAQ. Closes #12
2013-08-20 22:07:00 -07:00
TJ Holowaychuk
febf14dfca
Merge branch 'master' of github.com:koajs/koa
2013-08-19 18:24:26 -07:00
TJ Holowaychuk
3d92717b7a
remove Context#auth. Closes #26
2013-08-19 18:24:17 -07:00
Julian Gruber
c1380515b5
typo
2013-08-18 14:49:27 -04:00
TJ Holowaychuk
5f4574b8f5
add app.context() docs
2013-08-18 11:18:05 -07:00
TJ Holowaychuk
5095131e95
docs
2013-08-17 11:57:27 -07:00
TJ Holowaychuk
9e167c5ed9
Initial commit
2013-08-17 00:15:57 -07:00