Commit Graph

119 Commits

Author SHA1 Message Date
Tj Holowaychuk
43295289bf Removed app.redirect() 2011-12-06 16:04:06 -08:00
Tj Holowaychuk
0f72ca823b docs 2011-12-06 15:58:56 -08:00
Tj Holowaychuk
41786bc776 misc 2011-12-06 15:54:25 -08:00
Tj Holowaychuk
cca5d7ebbf more tests 2011-12-06 15:53:17 -08:00
Tj Holowaychuk
43c8764465 Added relative redirect support. Closes #920 2011-12-06 15:50:08 -08:00
Tj Holowaychuk
a1e325a2d9 use app.path() in res.redirect() 2011-12-06 15:40:17 -08:00
Tj Holowaychuk
1d0a56b673 removed uses of "root" 2011-11-24 14:33:23 -08:00
Tj Holowaychuk
87b991c076 removed "root" setting
screw it, no one will understand anyway
2011-11-24 14:27:28 -08:00
TJ Holowaychuk
be52f38d8f fixed downloads example 2011-11-20 11:43:40 -08:00
Tj Holowaychuk
f96102224c refactoring 2011-11-10 15:04:44 -08:00
Tj Holowaychuk
bf87d626eb docs 2011-11-10 15:01:22 -08:00
Tj Holowaychuk
e21a79dc61 Added res.cache() method 2011-11-10 15:00:50 -08:00
Tj Holowaychuk
caec590fe1 Added res.cache(str) 2011-11-10 14:54:23 -08:00
Tj Holowaychuk
61ce6c59c2 misc 2011-11-10 14:48:00 -08:00
Tj Holowaychuk
58eddd5ab4 Added res.signedCookie() and tests. Closes #880 2011-11-10 12:14:33 -08:00
Tj Holowaychuk
7ac857acef Added JSON cookie support & tests. Closes #879 2011-11-10 12:04:21 -08:00
Tj Holowaychuk
d249868e07 no longer manipulate the req/res protos directly 2011-11-10 11:18:43 -08:00
Tj Holowaychuk
7d42ad00ff Removed "status" and "charset" options 2011-11-10 07:47:04 -08:00
Tj Holowaychuk
f68ba2ef35 refactoring 2011-11-09 16:56:57 -08:00
Tj Holowaychuk
a95a0ab5f9 using connects error code util 2011-11-09 16:27:48 -08:00
Tj Holowaychuk
30911f4a75 Added failing res.sendfile() test for 403 + callback 2011-11-09 16:14:38 -08:00
Tj Holowaychuk
c9f184c8d5 Added res.sendfile() ENOENT test 2011-11-09 16:11:46 -08:00
Tj Holowaychuk
2f762265a8 Added forbidden tests 2011-11-09 16:03:42 -08:00
Tj Holowaychuk
bea74b7711 Fixed res.sendfile() 404s 2011-11-09 15:54:51 -08:00
Tj Holowaychuk
40f8202402 utilize res.headerSent from connect 2011-11-09 15:38:48 -08:00
Tj Holowaychuk
4b0b55c1b7 misc refactoring 2011-11-09 15:33:54 -08:00
Tj Holowaychuk
43d9f6ea17 tweak res.redirect() mount route logic 2011-11-08 18:59:40 -08:00
Tj Holowaychuk
1faba1302f tmp fix 2011-11-08 18:51:15 -08:00
Tj Holowaychuk
55ee0a0934 Added relative redirect test 2011-11-08 18:46:23 -08:00
Tj Holowaychuk
bee0496cb1 Fixed res.cookie() path default 2011-11-08 18:28:22 -08:00
Tj Holowaychuk
0f2f3d4e29 Fixed res.clearCookie(), default path to "root" setting 2011-11-08 18:25:21 -08:00
Tj Holowaychuk
b433550556 refactored res.render() 2011-10-14 08:46:02 -07:00
Tj Holowaychuk
de17b285b1 Added req.secure 2011-10-11 09:45:01 -07:00
Tj Holowaychuk
73f1da2ff7 Added replacement for dynamic locals. Closes #788 2011-10-09 13:01:32 -07:00
Tj Holowaychuk
fed7fa4cd2 removed old parseRange util 2011-10-07 13:56:14 -07:00
Tj Holowaychuk
98e2c0522f merging res.locals 2011-10-07 13:50:31 -07:00
Tj Holowaychuk
ae11d83684 typo 2011-10-07 13:31:12 -07:00
Tj Holowaychuk
aab9b08ec2 added charset option back 2011-10-07 13:30:33 -07:00
Tj Holowaychuk
31ff7db019 added status support back 2011-10-07 13:29:25 -07:00
Tj Holowaychuk
c40c54fbee request-level render() 2011-10-07 13:27:43 -07:00
Tj Holowaychuk
021655a10a Added support for res.set(obj). Closes #834 2011-10-05 14:34:00 -07:00
Tj Holowaychuk
e301d43704 Changed res.redirect() signature to accept status first. Closes #832
to match the others
2011-10-05 14:24:57 -07:00
Tj Holowaychuk
54c1a208c3 Added res.type() alias of res.contentType() 2011-09-28 10:27:13 -07:00
Tj Holowaychuk
d3937b9a61 Fixed res.redirect() HEAD support 2011-09-07 10:03:17 -07:00
Tj Holowaychuk
2c734e2e4c refactored res.send() 2011-09-07 10:02:27 -07:00
Tj Holowaychuk
d2df055abe fixed res.sendfile() 404 support 2011-08-18 15:59:35 -07:00
Tj Holowaychuk
d3ccdbcf72 build res.download() on top of res.sendfile()
like it should have always been
2011-08-18 15:43:19 -07:00
Tj Holowaychuk
7a476fc964 make res.sendfile() more like res.download(). Closes #774 2011-08-18 15:38:22 -07:00
Tj Holowaychuk
5da28be2b2 refactored res.sendfile() 2011-08-18 15:28:19 -07:00
Tj Holowaychuk
e9abe1b846 Merged basepath setting. Closes #813 2011-08-17 10:13:25 -07:00