@@ -93,14 +93,14 @@ describe("S3 MD5 Fallback for DeleteObjects", () => {
9393
9494 const headers = request . headers ;
9595
96- // Log headers *before* modification (in build step)
96+ // Log headers *before* modification
9797 // console.log(`[${context.commandName}] Headers before MD5 middleware:`, JSON.stringify(headers, null, 2));
9898
9999 // Remove checksum headers
100100 Object . keys ( headers ) . forEach ( ( header ) => {
101101 const lowerHeader = header . toLowerCase ( ) ;
102102 if ( lowerHeader . startsWith ( "x-amz-checksum-" ) || lowerHeader . startsWith ( "x-amz-sdk-checksum-" ) ) {
103- console . log ( `[${ context . commandName } ] Removing header: ${ header } ` ) ;
103+ // console.log(`[${context.commandName}] Removing header: ${header}`);
104104 delete headers [ header ] ;
105105 crc32Removed = true ;
106106 }
@@ -111,11 +111,11 @@ describe("S3 MD5 Fallback for DeleteObjects", () => {
111111 const bodyContent = Buffer . from ( request . body ) ;
112112 const md5Hash = createHash ( "md5" ) . update ( bodyContent ) . digest ( "base64" ) ;
113113 headers [ "Content-MD5" ] = md5Hash ;
114- console . log ( `[${ context . commandName } ] Added Content-MD5: ${ md5Hash } ` ) ;
114+ // console.log(`[${context.commandName}] Added Content-MD5: ${md5Hash}`);
115115 md5Added = true ;
116116 }
117117
118- // Log headers *after* modification (in build step)
118+ // Log headers *after* modification
119119 // console.log(`[${context.commandName}] Headers after MD5 middleware:`, JSON.stringify(headers, null, 2));
120120
121121 return await next ( args ) ;
0 commit comments