[Polyfill > Request] Don't set encoding of response
This commit is contained in:
parent
0b532c8d6e
commit
d5e09054f0
1 changed files with 0 additions and 1 deletions
|
@ -63,7 +63,6 @@ const request = (options, callback) => { // Main function
|
|||
listeners['response']?.(res);
|
||||
|
||||
let body = '';
|
||||
res.setEncoding('utf8');
|
||||
|
||||
res.on('data', (chunk) => {
|
||||
body += chunk;
|
||||
|
|
Loading…
Reference in a new issue