From 52ba331db214d1182282d507e6374dc33451a1d4 Mon Sep 17 00:00:00 2001 From: franck34 Date: Mon, 23 Mar 2020 17:00:34 +0100 Subject: [PATCH] remove throw error --- lib/requestHandler.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/requestHandler.js b/lib/requestHandler.js index f94cd4480..3c80a9284 100644 --- a/lib/requestHandler.js +++ b/lib/requestHandler.js @@ -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) => {