I did `console.log(metadata)` on Bucket.upload API. and charset=utf-8 doesn't seem to be appended for `application/javascript`. https://github.com/GoogleCloudPlatform/gcloud-node/blob/d36802f03267a4c890a2f5203a8a46a452b329cf/lib/storage/bucket.js#L418 How about using https://github.com/jshttp/mime-types instead of https://github.com/broofa/node-mime? node-mime doesn't seem to return any charset on application/javascript, but mime-types does.
I did
console.log(metadata)on Bucket.upload API. and charset=utf-8 doesn't seem to be appended forapplication/javascript.https://github.com/GoogleCloudPlatform/gcloud-node/blob/d36802f03267a4c890a2f5203a8a46a452b329cf/lib/storage/bucket.js#L418
How about using https://github.com/jshttp/mime-types instead of https://github.com/broofa/node-mime?
node-mime doesn't seem to return any charset on application/javascript, but mime-types does.