diff --git a/lib/object.js b/lib/object.js index 97c030cb5..42fece283 100644 --- a/lib/object.js +++ b/lib/object.js @@ -132,7 +132,7 @@ proto.putStream = async function putStream(name, stream, options) { if (options.contentLength) { options.headers['Content-Length'] = options.contentLength; } else { - options.headers['Transfer-Encoding'] = 'chunked'; + // options.headers['Transfer-Encoding'] = 'chunked'; } this._convertMetaToHeaders(options.meta, options.headers); diff --git a/test/node/object.test.js b/test/node/object.test.js index adb563532..31a2a4fc7 100644 --- a/test/node/object.test.js +++ b/test/node/object.test.js @@ -173,7 +173,7 @@ describe('test/object.test.js', () => { }); }); - describe.only('processObjectSave()', () => { + describe('processObjectSave()', () => { const name = 'sourceObject.png'; before(async () => { const imagepath = path.join(__dirname, 'nodejs-1024x768.png');