cleanup: refactor signing.js to avoid repetitions of common code and remove unneeded code
cleanup: refactor signing.js to avoid repetitions of common code and remove unneeded code

krishnasrinivas/minio-js,minio/minio-js