Skip to content

Commit 69af703

Browse files
committed
Merge pull request #62 from redbadger/fix-content-encoding
Delete content-encoding Header
2 parents 1e7d50a + a3c4516 commit 69af703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/body.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default class Body extends EventEmitter {
139139
}
140140
return streams.collect(readable)
141141
.then(buffer => {
142-
this.headers['content-encoding'] = undefined
142+
delete this.headers['content-encoding'];
143143
this._source = streams.from(buffer)
144144
})
145145
}

0 commit comments

Comments
 (0)