Merge tag '3.15.0'
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parents 11c74d7, 928952e · Browse files · 3 files·+39 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+39 added−5 removed
- other:+39 added−5 removed
Provenance
- Commit
f34944c- Tree
f3abab2- Author
Douglas Christopher Wilson <doug@somethingdoug.com>- Committer
Douglas Christopher Wilson <doug@somethingdoug.com>- Parent 1
11c74d7- Parent 2
928952e
3 files changed+39 added−5 removed
modified:lib/response.js+4 added-4 removed
310 unmodified lines311 * may have already been transferred.312 *313 * Options:314 *315- * - `maxAge` defaulting to 0 (can be string converted by `ms`)316- * - `root` root directory for relative filenames317- * - `headers` object of headers to serve with file318- * - `hidden` serve hidden files, defaulting to false315+ * - `maxAge` defaulting to 0 (can be string converted by `ms`)316+ * - `root` root directory for relative filenames317+ * - `headers` object of headers to serve with file318+ * - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them319 *320 * Other options are passed along to `send`.321 *322 * Examples:509 unmodified linesmodified:History.md+34 added
307 unmodified lines308 - `app.router()` - returns the app Router instance309 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route310 - Router & Route - public API311 312+3.15.0 / 2014-07-22313+===================314+315+ * Fix `req.protocol` for proxy-direct connections316+ * Pass options from `res.sendfile` to `send`317+ * deps: connect@2.24.0318+ - deps: body-parser@~1.5.0319+ - deps: compression@~1.0.9320+ - deps: connect-timeout@~1.2.1321+ - deps: debug@1.0.4322+ - deps: depd@0.4.2323+ - deps: express-session@~1.7.0324+ - deps: finalhandler@0.1.0325+ - deps: method-override@~2.1.2326+ - deps: morgan@~1.2.0327+ - deps: multiparty@3.3.1328+ - deps: parseurl@~1.2.0329+ - deps: serve-static@~1.4.0330+ * deps: debug@1.0.4331+ * deps: depd@0.4.2332+ - Add `TRACE_DEPRECATION` environment variable333+ - Remove non-standard grey color from color output334+ - Support `--no-deprecation` argument335+ - Support `--trace-deprecation` argument336+ * deps: parseurl@~1.2.0337+ - Cache URLs based on original value338+ - Remove no-longer-needed URL mis-parse work-around339+ - Simplify the "fast-path" `RegExp`340+ * deps: send@0.7.0341+ - Add `dotfiles` option342+ - Cap `maxAge` value to 1 year343+ - deps: debug@1.0.4344+ - deps: depd@0.4.2345+346 3.14.0 / 2014-07-11347 ===================348 349 * add explicit "Rosetta Flash JSONP abuse" protection1528 unmodified linesmodified:Readme.md+1 added-1 removed
3 unmodified lines4567889101112116 unmodified linesExpand all3 unmodified lines
[](https://badge.fury.io/js/express) [](https://travis-ci.org/visionmedia/express) [](https://coveralls.io/r/visionmedia/express) [](https://www.gittip.com/visionmedia/) [](https://www.gittip.com/dougwilson/)
```jsvar express = require('express')var app = express()116 unmodified linesExpand all