pyrax
Python Bindings for the Rackspace Cloud
|
This class wraps the swiftclient connection, adding support for CDN. More...
Public Member Functions | |
def | __init__ |
def | cdn_request |
Given a method (i.e. | |
def | uri |
Public Attributes | |
http_log_debug | |
url | |
user_agent | |
cdn_connection | |
cdn_url |
This class wraps the swiftclient connection, adding support for CDN.
def __init__ | ( | self, | |
args, | |||
kwargs | |||
) |
def cdn_request | ( | self, | |
method, | |||
path = [] , |
|||
data = "" , |
|||
hdrs = None |
|||
) |
Given a method (i.e.
GET, PUT, POST, etc.), a path, data, header and metadata dicts, performs an http request against the CDN service.
Taken directly from the cloudfiles library and modified for use here.
def uri | ( | self | ) |