We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209deee commit f3b6e8fCopy full SHA for f3b6e8f
lib/response.js
@@ -473,8 +473,8 @@ class RESPONSE {
473
if (this._compression && this._response.body) {
474
const { data, contentEncoding } = compression.compress(this._response.body, this._request.headers)
475
if (contentEncoding) {
476
- this._isBase64 = true
477
this._response.body = data.toString('base64')
+ this._response.isBase64Encoded = true
478
this._response.headers['content-encoding'] = [contentEncoding]
479
}
480
0 commit comments