Skip to content

Commit a208157

Browse files
committed
fixup! CLDSRV-750: add Server Access Logs
1 parent 05c5ffd commit a208157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utilities/serverAccesssLogger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function getObjectSize(request, response) {
225225
}
226226

227227
if (request && objectSizePutMethods[request.apiMethod]) {
228-
const len = request.getHeader('Content-Length');
228+
const len = request.headers['content-length'];
229229
return len || null;
230230
}
231231

0 commit comments

Comments
 (0)