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