pyrax
Python Bindings for the Rackspace Cloud
 All Classes Namespaces Files Functions Variables Properties
Public Member Functions | Public Attributes
Connection Class Reference

This class wraps the swiftclient connection, adding support for CDN. More...

List of all members.

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

Detailed Description

This class wraps the swiftclient connection, adding support for CDN.


Constructor & Destructor Documentation

def __init__ (   self,
  args,
  kwargs 
)

Member Function Documentation

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)

Member Data Documentation

url

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties