MCPcopy Create free account
hub / github.com/expressjs/compression / shouldNotHaveHeader

Function shouldNotHaveHeader

test/compression.js:1040–1044  ·  view source on GitHub ↗
(header)

Source from the content-addressed store, hash-verified

1038}
1039
1040function shouldNotHaveHeader (header) {
1041 return function (res) {
1042 assert.ok(!(header.toLowerCase() in res.headers), 'should not have header ' + header)
1043 }
1044}
1045
1046function writeAndFlush (stream, count, buf) {
1047 var writes = 0

Callers 1

compression.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected