Skip to content

Commit

Permalink
fix(adapters/http): remove repeated compression algorithm (#4820)
Browse files Browse the repository at this point in the history
Co-authored-by: Jay <jasonsaayman@gmail.com>
  • Loading branch information
basselworkforce and jasonsaayman committed Sep 14, 2022
1 parent 379fdeb commit 242c1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adapters/http.js
Expand Up @@ -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(/^\?/, ''),
Expand Down

0 comments on commit 242c1d9

Please sign in to comment.