mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 00:19:48 +01:00
deps: send@1.0.0-beta.1
This commit is contained in:
parent
620df0e35e
commit
669c805615
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
})
|
||||
|
|
@ -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)
|
||||
})
|
||||
|
|
@ -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);
|
||||
})
|
||||
|
|
@ -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);
|
||||
})
|
||||
|
|
@ -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)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user