Skip to content

Commit

Permalink
remove throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
franck34 committed Mar 23, 2020
1 parent 158854a commit 52ba331
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/requestHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ function fetchRemoteResponse(protocol, options, reqData, config) {
});
} else if (isBrotlied && originContentLen) {
refactContentEncoding();
throw "Brotli compression MUST be refactored using zlib.BrotliDecompress"
try {
// an Unit8Array returned by decompression
zlib.brotliDecompress(serverResData, (err, result) => {
Expand Down

0 comments on commit 52ba331

Please sign in to comment.