Skip to content
Myr

deps: send@1.0.0-beta.1

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 · parent 620df0e · Browse files · 3 files+11 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+11 added−6 removed

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

3 files+11 added−6 removed

modified:test/res.download.js+5 added-5 removed
14 unmodified lines
15 });1617 request(app)18 .get('/')19 .expect('Content-Type', 'text/html; charset=UTF-8')19 .expect('Content-Type', 'text/html; charset=utf-8')20 .expect('Content-Disposition', 'attachment; filename="user.html"')21 .expect(200, '<p>{{user.name}}</p>', done)22 })23 })
7 unmodified lines
31 });3233 request(app)34 .get('/')35 .expect('Content-Type', 'text/html; charset=UTF-8')35 .expect('Content-Type', 'text/html; charset=utf-8')36 .expect('Content-Disposition', 'attachment; filename="document"')37 .expect(200, done)38 })39 })
8 unmodified lines
48 });4950 request(app)51 .get('/')52 .expect('Content-Type', 'text/html; charset=UTF-8')52 .expect('Content-Type', 'text/html; charset=utf-8')53 .expect('Content-Disposition', 'attachment; filename="user.html"')54 .expect(200, cb);55 })56 })
8 unmodified lines
65 });6667 request(app)68 .get('/')69 .expect('Content-Type', 'text/html; charset=UTF-8')69 .expect('Content-Type', 'text/html; charset=utf-8')70 .expect('Content-Disposition', 'attachment; filename="document"')71 .expect(200, cb);72 })73 })
10 unmodified lines
8485 request(app)86 .get('/')87 .expect(200)88 .expect('Content-Type', 'text/html; charset=UTF-8')88 .expect('Content-Type', 'text/html; charset=utf-8')89 .expect('Content-Disposition', 'attachment; filename="document"')90 .end(cb)91 })92
111 unmodified lines
modified:History.md+5 added
22 unmodified lines
23 - deps: array-flatten@3.0.024 - deps: parseurl@~1.3.325 - deps: path-to-regexp@3.2.026 - deps: setprototypeof@1.2.027 * deps: send@1.0.0-beta.128 - Change `dotfiles` option default to `'ignore'`29 - Remove `hidden` option; use `dotfiles` option instead30 - Use `mime-types` for file to content type mapping31 - deps: debug@3.1.032 * deps: serve-static@2.0.0-beta.133 - Change `dotfiles` option default to `'ignore'`34 - Remove `hidden` option; use `dotfiles` option instead35 - Use `mime-types` for file to content type mapping
3633 unmodified lines
modified:package.json+1 added-1 removed