mirror of
https://github.com/sasjs/server.git
synced 2026-01-11 16:20:06 +00:00
fix(file): fixes response headers
This commit is contained in:
@@ -12,8 +12,8 @@ describe('extractHeaders', () => {
|
||||
`)
|
||||
|
||||
expect(headers).toEqual({
|
||||
'Content-type': 'application/zip',
|
||||
'Cache-Control': 'public, max-age=1000'
|
||||
'content-type': 'application/zip',
|
||||
'cache-control': 'public, max-age=1000'
|
||||
})
|
||||
})
|
||||
|
||||
@@ -25,7 +25,7 @@ describe('extractHeaders', () => {
|
||||
Content-type:
|
||||
`)
|
||||
|
||||
expect(headers).toEqual({ 'Cache-Control': 'public, max-age=1000' })
|
||||
expect(headers).toEqual({ 'cache-control': 'public, max-age=1000' })
|
||||
})
|
||||
|
||||
it('should return only valid http headers', () => {
|
||||
|
||||
Reference in New Issue
Block a user