Commit graph

561 commits

Author SHA1 Message Date
Jonathan Ong
85da935759 add .assert() docs 2014-09-20 13:19:07 -07:00
Jonathan Ong
2f0fe55ae3 .throw() -> http-errors, .assert() -> http-assert 2014-09-20 10:46:28 -07:00
Jonathan Ong
24c70eebbb Merge pull request #346 from koajs/attachment-support-no-ascii
ctx.attachment support no-ascii filename
2014-09-18 22:54:22 -07:00
fengmk2
cca2438f64 ctx.attachment support no-ascii filename 2014-09-19 13:46:08 +08:00
Jonathan Ong
a462876b25 Merge pull request #344 from seegno/enhancement/add-full-coverage
Add full coverage
2014-09-08 16:04:44 -07:00
Tiago Ribeiro
a85f580983 Add full coverage 2014-09-08 23:53:46 +01:00
Jonathan Ong
473cd68a55 0.11.0 2014-09-08 01:44:17 -07:00
Jonathan Ong
883b2732bf bump deps 2014-09-08 01:42:28 -07:00
Jonathan Ong
54873b53c6 cleanup package.json 2014-09-08 01:40:44 -07:00
Jonathan Ong
82acd0d853 Update Readme.md 2014-09-07 17:42:30 -07:00
Jonathan Ong
ecca839376 Merge pull request #340 from dead-horse/dependencies
bump type-is mime-types accpets
2014-09-05 19:44:34 -07:00
dead_horse
f6c6fee9a6 bump type-is mime-types accpets 2014-09-06 10:35:24 +08:00
TJ Holowaychuk
7b3e3cbad5 add fn assertion to app.use(). Closes #337 2014-08-20 13:28:34 -07:00
Jonathan Ong
5fea250bcc bump on-finished 2014-08-17 16:14:25 -07:00
Jonathan Ong
9455726c00 finished -> on-finished
removes the writable test because it’s fake and there are tests for
on-finished for this case
2014-08-16 02:58:06 -07:00
Jonathan Ong
920909c546 dethroy -> destroy 2014-08-14 23:34:25 -07:00
Jonathan Ong
933d3e90da bump vary and parseurl 2014-08-13 18:16:40 -07:00
TJ Holowaychuk
a96b5cfe72 Release 0.10.0 2014-08-12 14:25:19 -07:00
TJ Holowaychuk
27356125eb Merge pull request #334 from ianstormtaylor/add/throw-optional-status
Add/throw optional status
2014-08-12 14:23:03 -07:00
Ian Storm Taylor
dc0c35471c support errors and update docs 2014-08-12 13:22:33 -07:00
Ian Storm Taylor
5931714bd8 make the second argument to throw properly optional 2014-08-12 13:19:14 -07:00
TJ Holowaychuk
70c72df110 Merge pull request #333 from dead-horse/throw
ignore props.status in ctx.throw
2014-08-08 23:00:21 -07:00
dead_horse
a85889e6c6 docs: add ctx.headers alias 2014-08-09 13:39:36 +08:00
dead_horse
f6626967b2 ignore props.status in ctx.throw 2014-08-09 13:38:54 +08:00
TJ Holowaychuk
cbe7ad89d7 Merge branch 'master' of ssh://github.com/koajs/koa 2014-08-08 13:31:31 -07:00
TJ Holowaychuk
f84bf23169 add docs for .throw() properties 2014-08-08 13:31:28 -07:00
TJ Holowaychuk
7986756e28 Merge pull request #332 from ianstormtaylor/add/throw-props
add the ability to pass `props` to `context.throw`
2014-08-08 13:29:32 -07:00
Ian Storm Taylor
bcac468f7c add the ability to pass props to context.throw 2014-08-08 12:37:04 -07:00
TJ Holowaychuk
631dd1673c Release 0.9.0 2014-08-07 19:06:40 -07:00
TJ Holowaychuk
f9eb219ecf Merge pull request #330 from dead-horse/onerror-status
Onerror status
2014-08-07 19:04:10 -07:00
dead_horse
fa5948cca3 do not expose when err.status not valid 2014-08-08 10:02:24 +08:00
TJ Holowaychuk
2d197a79fd Merge pull request #326 from dead-horse/alias-headers
alias request.headers as request.header
2014-08-06 09:08:15 -07:00
dead_horse
5ca9f451a7 alias request.headers as request.header 2014-08-07 00:04:21 +08:00
dead_horse
e2f61595b8 fix err.status invalid lead to uncaughtException 2014-08-06 21:32:35 +08:00
Jonathan Ong
19a9ef76e5 fix test for new mime-types 2014-08-04 13:28:29 -07:00
Jonathan Ong
7e7c0ff54e Merge pull request #327 from kylesuss/patch-1
Changed language on readme
2014-08-04 08:36:01 -07:00
Kyle Suss
5ffdc2d5c2 Changed language on readme
"Getting start" sounded off so I updated it to "getting started"
2014-08-04 09:34:07 -06:00
Jonathan Ong
b9c0382694 Merge pull request #324 from dead-horse/docs
fix middleware gif, close #322
2014-08-03 20:47:14 -07:00
dead_horse
a7b6ed0529 fix middleware gif, close #322 2014-08-04 11:28:14 +08:00
Jonathan Ong
1605f33760 add context.inspect(), cleanup app.inspect()
closes #323 closes #250
2014-08-02 18:24:53 -07:00
Jonathan Ong
e7f74f9bbb update cookies 2014-07-30 21:38:48 -07:00
Jonathan Ong
8317cba0fd 0.8.2 2014-07-27 20:39:49 -07:00
Jonathan Ong
6eee80701d bump co and parseurl 2014-07-27 20:39:23 -07:00
TJ Holowaychuk
ffe7d8c7ff Merge pull request #319 from dead-horse/getting-start
Getting start
2014-07-26 11:15:28 -07:00
dead_horse
f1c6639305 add chinese API documentation 2014-07-26 14:49:23 +08:00
dead_horse
37e273f85c add getting start resource 2014-07-26 14:43:41 +08:00
TJ Holowaychuk
2a040da429 Merge pull request #316 from dead-horse/parseurl
use parseurl
2014-07-14 08:19:25 -07:00
dead_horse
fd019688ec use parseurl 2014-07-14 17:57:03 +08:00
Jonathan Ong
1b806a1d39 Merge pull request #312 from dead-horse/typer
parse req.type by media-typer
2014-07-09 19:51:16 -07:00
dead_horse
5b18f8bab0 parse req.type by media-typer 2014-07-09 23:52:56 +08:00