Commit graph

539 commits

Author SHA1 Message Date
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
Jonathan Ong
690604b6d2 remove this.error()
it’s been deprecated for long enough
2014-07-06 02:36:12 -07:00
Jonathan Ong
26e36de085 Merge pull request #314 from dead-horse/tests
add more test case, fix req.idempotent
2014-07-06 02:33:26 -07:00
dead_horse
e791100993 add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
TJ Holowaychuk
2032e07c7e Merge pull request #313 from yoshuawuyts/master
readme: add flat badges and url variables
2014-07-05 19:15:32 -07:00
yoshuawuyts
41f77edc88 readme: add flat badges and url variables 2014-07-06 03:32:25 +02:00
Jonathan Ong
fe22aa9c52 readme: add coveralls badge 2014-07-05 18:17:10 -07:00
Jonathan Ong
8a5ba7ad69 readme: change repo -_- 2014-07-05 18:14:44 -07:00
Jonathan Ong
3e799b8c22 readme: add npm version badge
really just spamming a commit to see if coveralls works...
2014-07-05 18:14:12 -07:00
TJ Holowaychuk
63489495e1 Merge pull request #311 from dead-horse/coverage
add coverage
2014-07-05 14:23:35 -07:00
dead_horse
4883e950ed add coverage 2014-07-06 00:55:45 +08:00
Jonathan Ong
7f5a46b68a 0.8.1 2014-06-24 17:43:43 -07:00
Jonathan Ong
5733bed4c3 bump type-is 2014-06-24 17:43:33 -07:00
TJ Holowaychuk
fe71a4ead6 Merge pull request #306 from jancarloviray/patch-1
Fix misspelled word "backwords" to "backwards"
2014-06-17 12:53:02 -07:00
Jan Carlo Viray
a437329f79 Fix misspelled word from "backwords" to "backwards" 2014-06-17 12:40:06 -07:00
TJ Holowaychuk
db0875208d docs 2014-06-13 09:02:06 -07:00
Jonathan Ong
288d0c00c6 0.8.0 2014-06-13 00:32:41 -07:00
Jonathan Ong
31ba115231 res: add .is() 2014-06-13 00:30:59 -07:00
TJ Holowaychuk
696d55d73b refactor res.status= 2014-06-10 14:33:13 -07:00
TJ Holowaychuk
ed8beb7d79 Merge pull request #299 from tmilewski/remove-status-as-string
remove .status=string
2014-06-10 14:32:13 -07:00
TJ Holowaychuk
71536b35be remove res.statusString 2014-06-10 14:31:41 -07:00
tmilewski
c2322f2b3d remove .status=string #298 2014-06-10 16:38:25 -04:00
Jonathan Ong
1f908137d2 0.7.0 2014-06-07 03:50:24 -07:00