This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const zlib = require('zlib'); | |
const concatStream = require('concat-stream'); | |
const BufferHelper = require('bufferhelper'); | |
const { debugLogger } = require('../../utils/logger'); | |
/** | |
* Modify the response | |
* @param res {Object} The http response | |
* @param contentEncoding {String} The http header content-encoding: gzip/deflate | |
* @param callback {Function} Custom modified logic |
OlderNewer