File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ If no values are set, the following request headers will be sent automatically:
537
537
538
538
| Header | Value |
539
539
| ------------------- | ------------------------------------------------------ |
540
- | ` Accept-Encoding ` | ` gzip,deflate,br ` _ (when ` options.compress === true ` )_ |
540
+ | ` Accept-Encoding ` | ` gzip, deflate, br ` (when ` options.compress === true ` ) |
541
541
| ` Accept ` | ` */* ` |
542
542
| ` Connection ` | ` close ` _ (when no ` options.agent ` is present)_ |
543
543
| ` Content-Length ` | _ (automatically calculated, if possible)_ |
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ export const getNodeRequestOptions = request => {
280
280
281
281
// HTTP-network-or-cache fetch step 2.15
282
282
if ( request . compress && ! headers . has ( 'Accept-Encoding' ) ) {
283
- headers . set ( 'Accept-Encoding' , 'gzip,deflate,br' ) ;
283
+ headers . set ( 'Accept-Encoding' , 'gzip, deflate, br' ) ;
284
284
}
285
285
286
286
let { agent} = request ;
You can’t perform that action at this time.
0 commit comments