Commit graph

763 commits

Author SHA1 Message Date
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
Jonathan Ong
4a6b49cd30 delegate: remove this.append() 2014-06-07 03:48:03 -07:00
Jonathan Ong
4065bf7e79 docs: discuss custom properties
related to #292. might be placed better somewhere else
2014-06-07 03:45:13 -07:00
Jonathan Ong
dc59a604e5 Merge pull request #292 from koajs/context-delegate
context: delegate etag/last-modified
2014-06-07 03:39:19 -07:00
TJ Holowaychuk
63a4297084 Merge pull request #291 from koajs/vary
remove response.append(), use vary module
2014-06-06 23:00:39 -07:00
Jonathan Ong
c547b1fd72 0.6.3 2014-06-06 16:27:37 -07:00
Jonathan Ong
76c65422c0 update finished 2014-06-06 16:26:24 -07:00
Jonathan Ong
1a32ecac31 fix res.type= for unknown types
because we changed from mime to mime-types. ideally, we should just not
set the content-type, but this way it’s backwards compatible. we can
change it later.
2014-06-06 16:26:03 -07:00
TJ Holowaychuk
90c528c5e8 remove if (!err) from app.onerror
we assert instanceof Error right below
2014-06-05 16:37:28 -07:00
TJ Holowaychuk
f68716d8b4 Merge pull request #288 from dead-horse/issue287
asset non-error obj in app.onerror, fixed #287
2014-06-05 16:35:17 -07:00
Jonathan Ong
01dd6a33c5 context: delegate etag/last-modified 2014-06-05 16:19:29 -07:00
Jonathan Ong
fdbd16acc3 remove response.append(), use vary module 2014-06-05 16:06:15 -07:00
dead_horse
4979077562 assert non-error obj pass to app.onerror, fixed #287 2014-06-04 14:16:25 +08:00
Jonathan Ong
851160e0ae 0.6.2 2014-06-03 21:45:50 -07:00
Jonathan Ong
008f0554c6 set-type -> mime-types
removes mime dependencies from the dep tree.
liberally sets charset because some express users complained about bad
browsers using the default charset.
2014-06-03 21:44:25 -07:00
Jonathan Ong
c7f2d24851 bump should just because 2014-06-03 21:36:27 -07:00
Jonathan Ong
11cf47c8a6 remove .request accept tests the fail
due to
https://github.com/expressjs/accepts/commit/5975ce464575bd0fddfdd3d41796
958cd6bfc20b. passing nothing into accepts() is silly anyways.
2014-06-03 21:35:11 -07:00
TJ Holowaychuk
29687cb253 add linting
left out of test for now since it seems to barf on *
2014-05-16 09:23:00 -07:00
Jonathan Ong
fee913f1e2 0.6.1 2014-05-11 20:51:11 -07:00
TJ Holowaychuk
caf6d177a2 Merge pull request #280 from dead-horse/docs
add originalUrl in docs
2014-05-05 19:36:20 -07:00
dead_horse
21b7eb82b9 add originalUrl 2014-05-06 10:01:46 +08:00
TJ Holowaychuk
55ebdb522b docs 2014-05-05 08:44:00 -07:00
TJ Holowaychuk
50ffb86a40 Merge pull request #278 from dead-horse/host-setter
remove req.host=
2014-05-05 08:42:28 -07:00
dead_horse
f76268ba58 remove req.host=, fix docs 2014-05-05 12:45:33 +08:00
Jonathan Ong
137df8e5ed Merge pull request #276 from tschaub/typo
s/properly/property/
2014-05-03 14:24:07 -07:00
Tim Schaub
d7d3e84d16 Using property properly 2014-05-03 15:21:07 -06:00
TJ Holowaychuk
1d9a0e1d31 ocd 2014-05-02 12:21:55 -07:00