l.s.d.g.GoogleStorageConnection(ConnectionUserAndKey) : class documentation

Part of libcloud.storage.drivers.google_storage View Source View In Hierarchy

Repersents a single connection to the Google storage API endpoint.
Method add_default_headers Undocumented
Method pre_connect_hook Undocumented
Method _get_aws_auth_param Signature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
def add_default_headers(self, headers): (source)
Undocumented
def pre_connect_hook(self, params, headers): (source)
Undocumented
def _get_aws_auth_param(self, method, headers, params, expires, secret_key, path='/'): (source)
Signature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID,
                                UTF-8-Encoding-Of( StringToSign ) ) ) );

        StringToSign = HTTP-VERB + "
" +
            Content-MD5 + "
" +
            Content-Type + "
" +
            Date + "
" +
            CanonicalizedHeaders +
            CanonicalizedResource;
        
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:46:59.