Part of libcloud.drivers.ecp View Source View In Hierarchy
Method | add_default_headers | Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers` |
Method | _encode_multipart_formdata | Based on Wade Leftwich's function: http://code.activestate.com/recipes/146306/ |
Inherited from ConnectionUserAndKey:
Method | __init__ | Initialize `user_id` and `key`; set `secure` to an int
based on passed value. |
Inherited from ConnectionKey (via ConnectionUserAndKey):
Method | connect | Establish a connection with the API server. |
Method | user_agent_append | Append a token to a user agent string. |
Method | request | Request a given `action`. |
Method | add_default_params | Adds default parameters (such as API key, version, etc.) to the passed `params` |
Method | encode_data | Encode body data. |
Method | _user_agent | Undocumented |
Should return a dictionary.