mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
fix(adapters/http): remove repeated compression algorithm (#4820)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -310,7 +310,7 @@ export default function httpAdapter(config) {
|
|||||||
return reject(customErr);
|
return reject(customErr);
|
||||||
}
|
}
|
||||||
|
|
||||||
headers.set('Accept-Encoding', 'gzip, deflate, gzip, br', false);
|
headers.set('Accept-Encoding', 'gzip, deflate, br', false);
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\?/, ''),
|
path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\?/, ''),
|
||||||
|
|||||||
Reference in New Issue
Block a user