Skip to content
Myr

update send to 0.4.0

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

closes #2150

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent faffcb8 · Browse files · 3 files+6 added−6 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+6 added−6 removed

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

3 files+6 added−6 removed

modified:test/res.sendfile.js+1 added-5 removed
7 unmodified lines
8 it('should invoke the callback when complete', function(done){9 var app = express();1011 app.use(function(req, res){12 res.sendfile('test/fixtures/user.html', function(err){13 assert(!err);14 req.socket.listeners('error').should.have.length(1); // node's original handler15 done();16 });12 res.sendfile('test/fixtures/user.html', done)13 });1415 request(app)16 .get('/')
222 unmodified lines
modified:History.md+4 added
4 unmodified lines
5 * update connect to 2.18.06 - deps: compression@1.0.37 - deps: serve-index@1.1.08 - deps: serve-static@1.2.09 * update send to 0.4.010 - Calculate ETag with md5 for reduced collisions11 - Ignore stream errors after request ends12 - deps: debug@0.8.113143.8.1 / 2014-05-2715==================16
1355 unmodified lines
modified:package.json+1 added-1 removed