Skip to content

Commit

Permalink
deps: send@1.0.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Feb 8, 2022
1 parent 620df0e commit 669c805
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ This incorporates all changes after 4.17.1 up to 4.17.2.
- deps: parseurl@~1.3.3
- deps: path-to-regexp@3.2.0
- deps: setprototypeof@1.2.0
* deps: send@1.0.0-beta.1
- Change `dotfiles` option default to `'ignore'`
- Remove `hidden` option; use `dotfiles` option instead
- Use `mime-types` for file to content type mapping
- deps: debug@3.1.0
* deps: serve-static@2.0.0-beta.1
- Change `dotfiles` option default to `'ignore'`
- Remove `hidden` option; use `dotfiles` option instead
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"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",
Expand Down
10 changes: 5 additions & 5 deletions test/res.download.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('res', function(){

request(app)
.get('/')
.expect('Content-Type', 'text/html; charset=UTF-8')
.expect('Content-Type', 'text/html; charset=utf-8')
.expect('Content-Disposition', 'attachment; filename="user.html"')
.expect(200, '<p>{{user.name}}</p>', done)
})
Expand All @@ -32,7 +32,7 @@ describe('res', function(){

request(app)
.get('/')
.expect('Content-Type', 'text/html; charset=UTF-8')
.expect('Content-Type', 'text/html; charset=utf-8')
.expect('Content-Disposition', 'attachment; filename="document"')
.expect(200, done)
})
Expand All @@ -49,7 +49,7 @@ describe('res', function(){

request(app)
.get('/')
.expect('Content-Type', 'text/html; charset=UTF-8')
.expect('Content-Type', 'text/html; charset=utf-8')
.expect('Content-Disposition', 'attachment; filename="user.html"')
.expect(200, cb);
})
Expand All @@ -66,7 +66,7 @@ describe('res', function(){

request(app)
.get('/')
.expect('Content-Type', 'text/html; charset=UTF-8')
.expect('Content-Type', 'text/html; charset=utf-8')
.expect('Content-Disposition', 'attachment; filename="document"')
.expect(200, cb);
})
Expand All @@ -85,7 +85,7 @@ describe('res', function(){
request(app)
.get('/')
.expect(200)
.expect('Content-Type', 'text/html; charset=UTF-8')
.expect('Content-Type', 'text/html; charset=utf-8')
.expect('Content-Disposition', 'attachment; filename="document"')
.end(cb)
})
Expand Down

0 comments on commit 669c805

Please sign in to comment.