Commit graph

910 commits

Author SHA1 Message Date
TJ Holowaychuk
dc692a3c75 add test.js to gitignore 2014-05-01 18:07:46 -07:00
TJ Holowaychuk
c16211c5d6 refactor 2014-05-01 17:46:09 -07:00
TJ Holowaychuk
212137139a add installation docs back
wtf...
2014-05-01 16:36:16 -07:00
TJ Holowaychuk
f17629d19f remove .outputErrors, suppress output when handled by the dev. Closes #272 2014-05-01 16:29:37 -07:00
TJ Holowaychuk
4ff54e5c13 ocd 2014-05-01 16:25:08 -07:00
TJ Holowaychuk
80ace2c0bb add nicer error formatting 2014-05-01 16:18:40 -07:00
TJ Holowaychuk
c757034adb Merge pull request #269 from koajs/status-default-404
change .status default to 404. Closes #263
2014-05-01 15:51:41 -07:00
TJ Holowaychuk
15ab936001 change .status default to 404. Closes #263 2014-04-28 21:17:46 -07:00
dead_horse
48ac0669c5 fix content-length when body is re-assigned. Closes #267 2014-04-28 20:34:26 -07:00
TJ Holowaychuk
5e3d7f0aa0 remove mime dependency 2014-04-28 20:13:31 -07:00
TJ Holowaychuk
952dca336d rename setType -> getType
sounds weird
2014-04-28 20:12:53 -07:00
Jonathan Ong
163e59c0d5 refactor to use set-type 2014-04-27 01:53:07 -07:00
Jonathan Ong
0cacc5706a use koa-is-json 2014-04-25 00:15:33 -07:00
TJ Holowaychuk
94dd87741e ocd 2014-04-24 17:58:37 -07:00
TJ Holowaychuk
239c0ce1f9 Merge pull request #265 from dead-horse/throw-not-error
Throw not error
2014-04-24 17:58:04 -07:00
dead_horse
6a2ed3e6eb assert object type in ctx.onerror 2014-04-25 08:34:11 +08:00
dead_horse
5de9d962a0 remove unused debug 2014-04-25 00:07:37 +08:00
Jonathan Ong
dd1aef0f7b bump supertest 2014-04-19 07:46:23 -07:00
Jonathan Ong
e472a18010 refactor: use mime-extended 2014-04-19 07:45:57 -07:00
TJ Holowaychuk
74cb04e7c1 refactor 2014-04-15 08:39:40 -07:00
TJ Holowaychuk
4e44c1c49e add buffer HEAD support tests 2014-04-15 08:38:32 -07:00
TJ Holowaychuk
9a45d07fea add string HEAD support test 2014-04-15 08:37:48 -07:00
TJ Holowaychuk
0a954c8d99 ocd 2014-04-15 08:35:10 -07:00
TJ Holowaychuk
204e4f5717 Merge pull request #261 from dead-horse/simplify-respond
simplify respond
2014-04-15 08:33:25 -07:00
dead_horse
b06bb3cb85 simplify respond 2014-04-15 23:31:11 +08:00
TJ Holowaychuk
a95046278f Release 0.5.5 2014-04-14 15:37:33 -07:00
TJ Holowaychuk
990caf4e71 refactor 2014-04-14 15:36:39 -07:00
TJ Holowaychuk
95a78c3a44 Merge pull request #255 from dead-horse/stream-body
make sure all intermediate stream bodies will be destroy
2014-04-14 15:34:13 -07:00
Jonathan Ong
430246c114 Merge pull request #259 from dead-horse/fix-length
fix length when .body is missing
2014-04-12 21:43:22 -07:00
dead_horse
69c82f63b5 fix length when .body is missing 2014-04-13 11:35:28 +08:00
Jonathan Ong
e8ba41df96 bump type is 2014-04-12 17:24:49 -07:00
TJ Holowaychuk
b308440438 Release 0.5.4 2014-04-12 12:30:55 -07:00
TJ Holowaychuk
80e1ceb52f Merge branch 'master' of ssh://github.com/koajs/koa 2014-04-12 10:59:08 -07:00
TJ Holowaychuk
bb0a0b3659 ocd 2014-04-12 10:59:04 -07:00
TJ Holowaychuk
eeb74f44d6 Merge pull request #258 from sonnyp/patch-2
Fix typo in request api documentation.
2014-04-11 16:15:38 -07:00
Sonny Piers
b7a747fc71 Fix typo in request api documentation. 2014-04-12 00:29:33 +02:00
Jonathan Ong
58faefa343 Merge pull request #257 from sonnyp/patch-1
Typo in documentation
2014-04-11 15:24:29 -07:00
Sonny Piers
d92a3c371f Update index.md 2014-04-12 00:23:11 +02:00
TJ Holowaychuk
8a50594858 Merge pull request #256 from dead-horse/refactor-status-and-body
refactor res.status= and res.body=
2014-04-11 10:42:19 -07:00
dead_horse
64aad129d3 fix this.status= in this.body
fix default status set bug in this.body=null.
do not call this.status= if this.status exist.
make sure empty content status remove content headers
2014-04-10 11:47:30 +08:00
TJ Holowaychuk
c15cf47475 Release 0.5.3 2014-04-09 09:42:23 -07:00
TJ Holowaychuk
0174efa8ed Merge branch 'master' of ssh://github.com/koajs/koa 2014-04-09 09:34:56 -07:00
TJ Holowaychuk
3d8ab61fa1 change res.type= to always default charset. Closes #252 2014-04-09 09:34:50 -07:00
dead_horse
329d2b94db make sure all intermediate stream bodies will be destroy and have error handle 2014-04-10 00:02:13 +08:00
TJ Holowaychuk
681b4afc6e Merge pull request #251 from matheusazzi/patch-1
Use SVG Badge
2014-04-06 08:44:47 -07:00
Matheus Azzi
edb7bb1dd1 Use SVG Badge 2014-04-06 11:53:08 -03:00
TJ Holowaychuk
dfe8e95be4 remove ctx.inspect() implementation. Closes #164
obscures user-defned properties. ideally we fix it so .req / .res are not so verbose but meh for now
2014-04-05 19:15:14 -07:00
Jonathan Ong
d8b6a18c9d Merge pull request #244 from t3chnoboy/master
ocd
2014-03-24 11:23:54 -07:00
Dmitry Mazuro
9e8d6a3aa0 ocd 2014-03-24 21:21:15 +03:00
Jonathan Ong
d6c523d107 0.5.2 2014-03-23 04:03:34 -07:00