Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ res.download = function download (path, filename, options, callback) {
/**
* Set _Content-Type_ response header with `type` through `mime.contentType()`
* when it does not contain "/", or set the Content-Type to `type` otherwise.
* When no mapping is found though `mime.contentType()`, the type is set to
* When no mapping is found through `mime.contentType()`, the type is set to
* "application/octet-stream".
*
* Examples:
Expand Down
4 changes: 2 additions & 2 deletions test/app.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ describe('app.router', function () {
.expect('tj', done);
})

it('should pass-though middleware', function (done) {
it('should pass-through middleware', function (done) {
var app = express();

app.enable('strict routing');
Expand All @@ -468,7 +468,7 @@ describe('app.router', function () {
.expect(200, 'tj', done);
})

it('should pass-though mounted middleware', function (done) {
it('should pass-through mounted middleware', function (done) {
var app = express();

app.enable('strict routing');
Expand Down
Loading