TJ Holowaychuk
|
fe27989a69
|
doc typo
|
2012-02-07 08:25:40 -08:00 |
|
TJ Holowaychuk
|
b04f3eeede
|
refactored req.xhr
|
2012-02-07 08:24:58 -08:00 |
|
TJ Holowaychuk
|
6ab61d023f
|
docs
|
2012-02-07 08:21:32 -08:00 |
|
TJ Holowaychuk
|
4d87efc771
|
Added "trust proxy" setting
|
2012-02-07 08:19:30 -08:00 |
|
TJ Holowaychuk
|
8c2c1240e1
|
removed old req.get() for now
|
2012-02-07 04:50:00 -08:00 |
|
TJ Holowaychuk
|
27e696b7b1
|
Added req.get() alias of req.header()
|
2012-02-07 04:49:12 -08:00 |
|
TJ Holowaychuk
|
bfba98f532
|
Removed req.header() defaultValue support
|
2012-02-07 04:47:51 -08:00 |
|
TJ Holowaychuk
|
2ba343d2b5
|
Added req.protocol()
|
2012-02-07 04:39:10 -08:00 |
|
TJ Holowaychuk
|
edfe50e713
|
Removed app.is() support
|
2011-12-30 15:10:51 -08:00 |
|
TJ Holowaychuk
|
26fb403ced
|
Fixed req.is() with charsets
|
2011-12-30 15:04:41 -08:00 |
|
TJ Holowaychuk
|
014fb46449
|
Added req.is() tests
|
2011-12-30 15:01:34 -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
|
e49c482a3f
|
req.body takes precedence
|
2011-12-07 08:41:22 -08:00 |
|
Tj Holowaychuk
|
28f32b9b8e
|
Removed req.notify()
|
2011-11-24 15:12:25 -08:00 |
|
TJ Holowaychuk
|
9c7380efe4
|
Added req.acceptsLanguage()
|
2011-11-20 12:53:01 -08:00 |
|
TJ Holowaychuk
|
5e071a2e4b
|
Added req.acceptsCharset()
|
2011-11-20 12:51:27 -08:00 |
|
TJ Holowaychuk
|
ff9b82c4f6
|
todo
|
2011-11-20 12:44:25 -08:00 |
|
TJ Holowaychuk
|
a0d0ac6cff
|
docs
|
2011-11-20 12:43:06 -08:00 |
|
TJ Holowaychuk
|
b605a5de87
|
Changed: req.accepts() utilizing utils.accepts()
|
2011-11-20 12:42:06 -08:00 |
|
TJ Holowaychuk
|
499d3d6d78
|
Added req.acceptedCharsets
|
2011-11-19 22:16:16 -08:00 |
|
TJ Holowaychuk
|
e8c373694c
|
Added req.acceptedLanguages
|
2011-11-19 22:12:09 -08:00 |
|
TJ Holowaychuk
|
a8fd8cb645
|
Added req.accepted
|
2011-11-19 22:08:26 -08:00 |
|
Tj Holowaychuk
|
d249868e07
|
no longer manipulate the req/res protos directly
|
2011-11-10 11:18:43 -08:00 |
|
Tj Holowaychuk
|
1a5636b199
|
case sensitivity test
|
2011-11-08 20:29:48 -08:00 |
|
Tj Holowaychuk
|
af46df7eae
|
Removed req.isXMLHttpRequest
let me know if you actually use this :)
|
2011-11-08 20:28:55 -08:00 |
|
Tj Holowaychuk
|
1a1ed0ae45
|
semicolons
|
2011-10-13 09:46:48 -07:00 |
|
Tj Holowaychuk
|
d6fabb6f8e
|
move getters down
|
2011-10-13 09:46:26 -07:00 |
|
Tj Holowaychuk
|
0e4e050b21
|
Added req.fresh and req.stale
lame usage example:
app.get('/user/:id', function(req, res){
var id = req.params.id;
res.set('ETag', 'user-' + id);
if (req.fresh) return res.send(304);
setTimeout(function(){
res.send('large expensive user response ' + id);
}, 2000);
});
|
2011-10-13 09:43:31 -07:00 |
|
Tj Holowaychuk
|
de17b285b1
|
Added req.secure
|
2011-10-11 09:45:01 -07:00 |
|
Tj Holowaychuk
|
77d8823261
|
misc refactoring
|
2011-09-06 15:19:05 -07:00 |
|
Tj Holowaychuk
|
edb1dc067a
|
Fixed req.notify(), only escape args
|
2011-09-06 15:15:52 -07:00 |
|
Tj Holowaychuk
|
d10b7b43ea
|
Added shorthand for the parsed request's pathname
|
2011-08-17 14:20:10 -07:00 |
|
Tj Holowaychuk
|
fd5d1076dc
|
make req.notify() arity based
|
2011-08-08 16:45:22 -07:00 |
|
Tj Holowaychuk
|
82c78ec8f9
|
semi
|
2011-07-29 11:02:50 -07:00 |
|
Tj Holowaychuk
|
b1d4b71609
|
Refactored req.accepts()
|
2011-07-29 11:02:20 -07:00 |
|
Tj Holowaychuk
|
3ab37028fc
|
Removed req.flash() references
it will be req.notify(), req.session.notifications etc
|
2011-07-15 13:09:38 -07:00 |
|
Tj Holowaychuk
|
4b8e08d202
|
another req.is() example
|
2011-07-15 11:52:43 -07:00 |
|
Tj Holowaychuk
|
9413d30396
|
Added req.notify() alias of req.flash()
|
2011-07-15 11:36:52 -07:00 |
|
Tj Holowaychuk
|
5982fa63c6
|
refactored req.flash()
|
2011-07-15 11:36:02 -07:00 |
|
Tj Holowaychuk
|
a4621a6418
|
refactored req.param()
|
2011-07-15 11:33:57 -07:00 |
|
Tj Holowaychuk
|
7eec21a5e6
|
examples
|
2011-07-15 11:31:47 -07:00 |
|
Tj Holowaychuk
|
96b72fe2f7
|
Renamed app.flashFormatters to app.formatters
|
2011-07-15 11:04:25 -07:00 |
|
Tj Holowaychuk
|
c7c9606e87
|
Added %d flash formatter
|
2011-07-15 10:57:15 -07:00 |
|
Tj Holowaychuk
|
6bb100d7fa
|
docs for req.get()
|
2011-06-21 10:48:34 -07:00 |
|
Tj Holowaychuk
|
f13ea34de3
|
typo
|
2011-06-21 10:46:07 -07:00 |
|
Tj Holowaychuk
|
4d9647923e
|
Added req.get(field, param)
|
2011-06-21 10:29:04 -07:00 |
|
Tj Holowaychuk
|
3dc53e105a
|
misc refactoring
|
2011-06-06 08:22:35 -07:00 |
|
Tj Holowaychuk
|
6e633b31b4
|
return bool from req.is()
|
2011-05-19 09:48:19 -07:00 |
|
Tj Holowaychuk
|
b6aca36ad9
|
htmlEscape -> escape
|
2011-04-25 10:11:38 -07:00 |
|
Tj Holowaychuk
|
0c38098f02
|
tweak req.flash() failure message
|
2011-03-21 16:13:40 -07:00 |
|