mirror of
https://github.com/Wessel/wumpfetch.git
synced 2026-06-06 07:35:42 +02:00
fix deflate misspelling (#19)
This commit is contained in:
@@ -194,7 +194,7 @@ module.exports = class WumpRequest {
|
||||
if (this.o.compressed) {
|
||||
switch (res.headers['content-encoding']) {
|
||||
case 'gzip': stream = res.pipe(zlib.createGunzip()); break;
|
||||
case 'defalte': stream = res.pipe(zlib.createInflate()); break;
|
||||
case 'deflate': stream = res.pipe(zlib.createInflate()); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user