Skip to content

Commit

Permalink
Fix content-encoding setter for regular headers
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba committed Mar 16, 2021
1 parent 3cf9ad5 commit 8a52665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ class RESPONSE {
if (this._response.multiValueHeaders) {
this._response.multiValueHeaders['content-encoding'] = [contentEncoding]
} else {
this._response.headers['content-encoding'] = [contentEncoding]
this._response.headers['content-encoding'] = contentEncoding
}
}
}
Expand Down

0 comments on commit 8a52665

Please sign in to comment.