Skip to content

Commit 8a52665

Browse files
committed
Fix content-encoding setter for regular headers
1 parent 3cf9ad5 commit 8a52665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/response.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ class RESPONSE {
477477
if (this._response.multiValueHeaders) {
478478
this._response.multiValueHeaders['content-encoding'] = [contentEncoding]
479479
} else {
480-
this._response.headers['content-encoding'] = [contentEncoding]
480+
this._response.headers['content-encoding'] = contentEncoding
481481
}
482482
}
483483
}

0 commit comments

Comments
 (0)