[Polyfill > Request] Don't set encoding of response

This commit is contained in:
Ducko 2021-12-26 12:54:55 +00:00
parent 0b532c8d6e
commit d5e09054f0
1 changed files with 0 additions and 1 deletions

View File

@ -63,7 +63,6 @@ const request = (options, callback) => { // Main function
listeners['response']?.(res);
let body = '';
res.setEncoding('utf8');
res.on('data', (chunk) => {
body += chunk;