mirror of
https://github.com/tenrok/axios.git
synced 2026-06-14 18:42:33 +03:00
fix: fixed Brotli decompression; (#5353)
test: added decompression tests; fix: added legacy `x-gzip` & `x-compress` encoding types;
This commit is contained in:
@@ -43,6 +43,7 @@ const isStandardBrowserEnv = (() => {
|
||||
const isStandardBrowserWebWorkerEnv = (() => {
|
||||
return (
|
||||
typeof WorkerGlobalScope !== 'undefined' &&
|
||||
// eslint-disable-next-line no-undef
|
||||
self instanceof WorkerGlobalScope &&
|
||||
typeof self.importScripts === 'function'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user