Skip to content
Myr

Fixed: expose connects mime module. Cloases #1165

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 2787bd5 · Browse files · 5 files+10 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

5 files+10 added−5 removed

  • other:+10 added−5 removed

5 files+10 added−5 removed

modified:lib/express.js+6 added
modified:lib/request.js+1 added-1 removed
5 unmodified lines
6var http = require('http')7 , utils = require('./utils')8 , connect = require('connect')9 , parse = connect.utils.parseUrl10 , mime = require('mime');10 , mime = connect.mime;1112/**13 * Request prototype.14 */
404 unmodified lines
modified:lib/response.js+1 added-1 removed
12 unmodified lines
13 , statusCodes = http.STATUS_CODES14 , send = connect.static.send15 , cookie = require('cookie')16 , crc = require('crc')17 , mime = require('mime')17 , mime = connect.mime18 , basename = path.basename19 , extname = path.extname20 , join = path.join;21
626 unmodified lines
modified:lib/utils.js+1 added-1 removed
1 unmodified line
2/**3 * Module dependencies.4 */56var mime = require('mime');6var mime = require('connect').mime;78/**9 * Make `locals()` bound to the given `obj`.10 *
272 unmodified lines
modified:package.json+1 added-2 removed