l.a.b.f.ExportedFolder : class documentation

Part of lp.app.browser.folder View In Hierarchy

Known subclasses: lp.app.browser.folder.ExportedImageFolder, lp.app.browser.launchpad.IcingFolder, lp.app.browser.launchpad.LaunchpadAPIDocFolder, lp.app.browser.launchpad.LaunchpadTourFolder, lp.registry.browser.RDFFolder, lp.services.inlinehelp.browser.HelpFolder

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 hex 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 2022-06-16 00:00:12.