Compare commits

..

No commits in common. "0e5cde6f39040110f23b285d6172909e420740a8" and "5d100645aaa7083ce4195939bf968119e118b93a" have entirely different histories.

3 changed files with 0 additions and 13 deletions

View File

@ -38,14 +38,6 @@ function constructStringToSign(params) {
.digest('hex'); .digest('hex');
const stringToSign = `AWS4-HMAC-SHA256\n${timestamp}\n` + const stringToSign = `AWS4-HMAC-SHA256\n${timestamp}\n` +
`${credentialScope}\n${canonicalHex}`; `${credentialScope}\n${canonicalHex}`;
console.log('!!!!!!!!!!!!!!!!!!!');
console.log(stringToSign);
console.log('!!!!!!!!!!!!!!!!!!!');
console.log(request);
console.log(canonicalReqResult);
console.log('!!!!!!!!!!!!!!!!!!!');
return stringToSign; return stringToSign;
} }

View File

@ -223,7 +223,6 @@ function routes(req, res, params, logger) {
}); });
const { error, method } = checkUnsupportedRoutes(req.method, req.query); const { error, method } = checkUnsupportedRoutes(req.method, req.query);
console.log('got method!!!!!!!!!!!!!!!!!!!!', method, error);
if (error) { if (error) {
log.trace('error validating route or uri params', { error }); log.trace('error validating route or uri params', { error });
@ -244,8 +243,6 @@ function routes(req, res, params, logger) {
return routeWebsite(req, res, api, log, statsClient, return routeWebsite(req, res, api, log, statsClient,
dataRetrievalParams); dataRetrievalParams);
} }
console.log('req!!!!!!!!!!', req)
console.log('got here!!!!!!!!!!!!!!');
return method(req, res, api, log, statsClient, dataRetrievalParams); return method(req, res, api, log, statsClient, dataRetrievalParams);
} }

View File

@ -5,7 +5,6 @@ function routerGET(request, response, api, log, statsClient,
dataRetrievalParams) { dataRetrievalParams) {
log.debug('routing request', { method: 'routerGET' }); log.debug('routing request', { method: 'routerGET' });
if (request.bucketName === undefined && request.objectKey !== undefined) { if (request.bucketName === undefined && request.objectKey !== undefined) {
console.log('got error here!!!!!!!11', request.bucketName, request.objectKey)
routesUtils.responseXMLBody(errors.NoSuchBucket, null, response, log); routesUtils.responseXMLBody(errors.NoSuchBucket, null, response, log);
} else if (request.bucketName === undefined } else if (request.bucketName === undefined
&& request.objectKey === undefined) { && request.objectKey === undefined) {
@ -95,7 +94,6 @@ dataRetrievalParams) {
log, corsHeaders); log, corsHeaders);
}); });
} else { } else {
console.log('bucket get!!!!!!!!!!!!!!');
// GET bucket // GET bucket
api.callApiMethod('bucketGet', request, response, log, api.callApiMethod('bucketGet', request, response, log,
(err, xml, corsHeaders) => { (err, xml, corsHeaders) => {