LearnBoost/knox — pull request #68 by brandoncarl (2012-04-14 02:41:47+00:00)
Title: Added Google Cloud Storage v1 abilities

Made basic changes to authentication and put/get/del to incorporate Google Cloud Services as per https://developers.google.com/storage/docs/reference/v1/apiversion1.

Needed Google over Amazon due to need for CORS in canvas processing on client (throwing errors without Access-Control headers).

Google has additional need for header specifying version on requests, so had to add addlHeaders object.

Finally, had to shorten canonicalizeHeaders inStr from x-amz to just x-.

No changes to other features. End result is that module should allow you to switch between Google and Amazon by simply using a "service" parameter.

This is my first fork/pull so apologies if something's not right...