Files Python Module

CherryPy files proxy.

class pacifica.proxy.files.Files

CherryPy files object class.

This object proxies requests to the archive interface service based on the files hashsum instead of ID.

static GET(hashtype, hashsum)

Create the local objects we need.

__weakref__

list of weak references to the object (if defined)

static nginx_accel(the_file)

Use nginx to accelerate the transfer of the file.

static stream_the_file(the_file)

Stream the file yourself.