Skip to content

Commit

Permalink
fix for issue node-fetch#1571
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclo committed May 31, 2022
1 parent 0f122b8 commit 40a1865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.js
Expand Up @@ -280,7 +280,7 @@ export const getNodeRequestOptions = request => {

// HTTP-network-or-cache fetch step 2.15
if (request.compress && !headers.has('Accept-Encoding')) {
headers.set('Accept-Encoding', 'gzip,deflate,br');
headers.set('Accept-Encoding', 'gzip, deflate, br');
}

let {agent} = request;
Expand Down

0 comments on commit 40a1865

Please sign in to comment.