Skip to content
Myr

docs: fix pass-through typos (#7509)

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

authored by whoalin1 · committed by GitHub · parent 2717ae3 · Browse files · 2 files+3 added−3 removed
This commit

State

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

Trailers

  • Co-authored-by: Cursor Agent <cursoragent@cursor.com>
  • Co-authored-by: whoalin1 <whoalin1@users.noreply.github.com>

Diff stats

2 files+3 added−3 removed

  • tests:+2 added−2 removed
  • other:+1 added−1 removed

2 files+3 added−3 removed

modified:lib/response.js+1 added-1 removed
486 unmodified lines
487488/**489 * Set _Content-Type_ response header with `type` through `mime.contentType()`490 * when it does not contain "/", or set the Content-Type to `type` otherwise.491 * When no mapping is found though `mime.contentType()`, the type is set to491 * When no mapping is found through `mime.contentType()`, the type is set to492 * "application/octet-stream".493 *494 * Examples:495 *
554 unmodified lines
modified:test/app.router.js+2 added-2 removed
446 unmodified lines
447 .get('/user/')448 .expect('tj', done);449 })450451 it('should pass-though middleware', function (done) {451 it('should pass-through middleware', function (done) {452 var app = express();453454 app.enable('strict routing');455
11 unmodified lines
467 .expect('x-middleware', 'true')468 .expect(200, 'tj', done);469 })470471 it('should pass-though mounted middleware', function (done) {471 it('should pass-through mounted middleware', function (done) {472 var app = express();473474 app.enable('strict routing');475
742 unmodified lines