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
Provenance
- Commit
669c805- Tree
cd719cc- Author
Douglas Christopher Wilson <doug@somethingdoug.com>- Committer
Douglas Christopher Wilson <doug@somethingdoug.com>- Parent
620df0e
3 files changed+11 added−6 removed
modified:test/res.download.js+5 added-5 removed
14 unmodified lines15 });16 17 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 lines31 });32 33 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 lines48 });49 50 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 lines65 });66 67 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 lines84 85 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 linesmodified:History.md+5 added
22 unmodified lines23 - 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 mapping3633 unmodified linesmodified:package.json+1 added-1 removed
51 unmodified lines5253545556565758596041 unmodified lines51 unmodified lines "qs": "6.9.6", "range-parser": "~1.2.1", "router": "2.0.0-beta.1", "safe-buffer": "5.2.1", "send": "0.17.2", "send": "1.0.0-beta.1", "serve-static": "2.0.0-beta.1", "setprototypeof": "1.2.0", "statuses": "~1.5.0", "type-is": "~1.6.18",41 unmodified lines