Files Python Module

CherryPy files proxy.

class pacifica.proxy.files.Files[source]

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)[source]

Create the local objects we need.

exposed = True
static nginx_accel(the_file)[source]

Use nginx to accelerate the transfer of the file.

static stream_the_file(the_file)[source]

Stream the file yourself.