Skip to content
Myr

populate changelog

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 12ada75 · Browse files · 2 files+56 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+56 added−1 removed

  • other:+56 added−1 removed

2 files+56 added−1 removed

modified:lib/request.js+1 added-1 removed
305 unmodified lines
306 * @return {String}307 * @api public308 */309310req.__defineGetter__('protocol', function(trustProxy){310req.__defineGetter__('protocol', function(){311 var trustProxy = this.app.settings['trust proxy'];312 return this.connection.encrypted313 ? 'https'314 : trustProxy
101 unmodified lines
modified:History.md+55 added
123.0.0alpha1 / 2012-04-15 3==================45 * Added `app.locals.use(callback)`6 * Added `app.locals` object7 * Added `app.locals(obj)`8 * Added `res.locals` object9 * Added `res.locals(obj)`10 * Added `res.format()` for content-negotiation11 * Added `app.engine()`12 * Added `res.cookie()` JSON cookie support13 * Added "trust proxy" setting14 * Added `req.subdomains`15 * Added `req.protocol`16 * Added `req.secure`17 * Added `req.path`18 * Added `req.ips`19 * Added `req.fresh`20 * Added `req.stale`21 * Added comma-delmited / array support for `req.accepts()`22 * Added debug instrumentation23 * Added `res.set(obj)`24 * Added `res.set(field, value)`25 * Added `res.get(field)`26 * Added `app.get(setting)`. Closes #84227 * Added `req.acceptsLanguage()`28 * Added `req.acceptsCharset()`29 * Added `req.accepted`30 * Added `req.acceptedLanguages`31 * Added `req.acceptedCharsets`32 * Added "json replacer" setting33 * Added "json spaces" setting34 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #9235 * Added `--less` support to express(1)36 * Added `express.response` prototype37 * Added `express.request` prototype38 * Added `express.application` prototype39 * Added `app.path()`40 * Added `app.render()`41 * Added `res.type()` to replace `res.contentType()`42 * Changed: `res.redirect()` to add relative support43 * Changed: enable "jsonp callback" by default44 * Changed: renamed "case sensitive routes" to "case sensitive routing"45 * Rewrite of all tests with mocha46 * Removed "root" setting47 * Removed `res.redirect('home')` support48 * Removed `req.notify()`49 * Removed `app.register()`50 * Removed `app.redirect()`51 * Removed `app.is()`52 * Removed `app.helpers()`53 * Removed `app.dynamicHelpers()`54 * Fixed `res.sendfile()` with non-GET. Closes #72355 * Fixed express(1) public dir for windows. Closes #86656572.5.9/ 2012-04-02 58==================5960 * Added support for PURGE request method [pbuyle]
806 unmodified lines