TJ Holowaychuk
|
cf7d710bc1
|
refactored res.sendfile()
|
2012-04-25 21:48:19 -07:00 |
|
TJ Holowaychuk
|
8f8740028c
|
Fixed: use app.get() for all core settings
|
2012-04-25 21:40:53 -07:00 |
|
TJ Holowaychuk
|
b809041894
|
refactored res.send()
|
2012-04-25 09:38:59 -07:00 |
|
Pierre Matri
|
0f585931a4
|
Make string object behave like string literals with res.send
|
2012-04-22 13:49:50 +02:00 |
|
TJ Holowaychuk
|
27b1b5e3b3
|
docs
|
2012-04-16 08:53:16 -07:00 |
|
TJ Holowaychuk
|
5fa2f89542
|
Added res.header() and req.header() aliases for BC
|
2012-04-16 08:31:30 -07:00 |
|
TJ Holowaychuk
|
7e81cad0bf
|
Added new dox API docs
|
2012-04-15 21:01:17 -07:00 |
|
TJ Holowaychuk
|
12e087820c
|
Added: res.format() sets Vary: Accept
|
2012-04-12 20:11:15 -07:00 |
|
TJ Holowaychuk
|
8dc001567b
|
removed res.cache()
too specific
|
2012-04-12 19:46:53 -07:00 |
|
TJ Holowaychuk
|
24a4e95ffe
|
Changed to allow extname or type/subtype only. Closes #1072
|
2012-04-10 12:19:34 -07:00 |
|
TJ Holowaychuk
|
ba413ee98d
|
added another res.redirect() example
|
2012-04-04 08:43:12 -07:00 |
|
TJ Holowaychuk
|
298899d02c
|
Added array support. Closes #1053
|
2012-03-23 17:58:41 -07:00 |
|
TJ Holowaychuk
|
533b31237c
|
optimize res.format()
|
2012-02-23 10:59:54 -08:00 |
|
TJ Holowaychuk
|
812a470122
|
docs
|
2012-02-23 10:58:57 -08:00 |
|
TJ Holowaychuk
|
eb3105ef25
|
Added extname support to res.format(). Closes #1024
|
2012-02-23 10:58:06 -08:00 |
|
TJ Holowaychuk
|
ffcaa04d2c
|
renamed res.respondTo() to res.format()
since you are not really responding with it,
its basically as switch
|
2012-02-22 19:59:52 -08:00 |
|
TJ Holowaychuk
|
a47660ba67
|
refactored res.redirect() with respondTo()
|
2012-02-22 19:58:36 -08:00 |
|
TJ Holowaychuk
|
bdfa6d1fe7
|
Added: res.respondTo() defaults the content-type
|
2012-02-18 17:23:02 -08:00 |
|
TJ Holowaychuk
|
b565e258cb
|
Added res.respondTo(obj)
|
2012-02-18 17:13:40 -08:00 |
|
TJ Holowaychuk
|
76fd462bcc
|
Removed res.header(field, value)
|
2012-02-07 08:30:27 -08:00 |
|
TJ Holowaychuk
|
c44f01879f
|
utilize res.set() internally
|
2012-02-07 08:28:40 -08:00 |
|
TJ Holowaychuk
|
4d87efc771
|
Added "trust proxy" setting
|
2012-02-07 08:19:30 -08:00 |
|
TJ Holowaychuk
|
8de3ad50b2
|
refactored res.redirect() with req.protocol()
|
2012-02-07 04:43:35 -08:00 |
|
TJ Holowaychuk
|
ff92afa557
|
Added "json replacer" and "json spaces" settings. Closes #996 [credit to jed]
|
2012-02-07 03:30:34 -08:00 |
|
TJ Holowaychuk
|
386a9e88b4
|
removed old tests
|
2011-12-17 13:43:51 -08:00 |
|
Tj Holowaychuk
|
5757f875f2
|
Added X-Forwarded-Proto support to res.redirect(). Closes #927
|
2011-12-08 12:45:46 -08:00 |
|
Tj Holowaychuk
|
88f154fecd
|
Added support for .. in redirects as well
|
2011-12-06 16:44:15 -08:00 |
|
Tj Holowaychuk
|
489265e3ca
|
Added support for ./ in redirects
|
2011-12-06 16:32:48 -08:00 |
|
Tj Holowaychuk
|
1cda0a96ca
|
Removed redirect "home"
|
2011-12-06 16:13:42 -08:00 |
|
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 |
|