Skip to content

Commit

Permalink
fix: upgrade urllib transfer-encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
csg01123119 committed Jul 19, 2023
1 parent fe214c5 commit 91b1d69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion test/node/object.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 91b1d69

Please sign in to comment.