mirror of
https://github.com/tenrok/axios.git
synced 2026-06-08 17:22:34 +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);
|
||||
}
|
||||
|
||||
headers.set('Accept-Encoding', 'gzip, deflate, gzip, br', false);
|
||||
headers.set('Accept-Encoding', 'gzip, deflate, br', false);
|
||||
|
||||
const options = {
|
||||
path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\?/, ''),
|
||||
|
||||
Reference in New Issue
Block a user