c.l.f.ExportedFolder : class documentation

Part of canonical.lazr.folder View In Hierarchy

Known subclasses: canonical.lazr.folder.ExportedImageFolder, lp.services.inlinehelp.browser.HelpFolder

Implements interfaces: zope.publisher.interfaces.browser.IBrowserPublisher

View that gives access to the files in a folder.

The URL to the folder can start with an optional path step like /revNNN/ where NNN is one or more digits. This path step will be ignored. It is useful for having a different path for all resources being served, to ensure that we don't use cached files in browsers.

By default, subdirectories are not exported. Set export_subdirectories to True to change this.

Method __init__ Initialize with context and request.
Method __call__ Undocumented
Method prepareDataForServing Set the response headers and return the data for this resource.
Method publishTraverse Traverse to the given name.
Method browserDefault Undocumented
Method folder Undocumented
def __init__(self, context, request):
Initialize with context and request.
def __call__(self):
Undocumented
def prepareDataForServing(self, filename):
Set the response headers and return the data for this resource.
def publishTraverse(self, request, name):
Traverse to the given name.
def browserDefault(self, request):
Undocumented
@property
def folder(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.