l.s.w.s.FeedsPublication(LaunchpadBrowserPublication) : class documentation

Part of lp.services.webapp.servers View In Hierarchy

The publication used for Launchpad feed requests.
Method traverseName Override traverseName to restrict urls on feeds.launchpad.net.
Method getPrincipal For feeds always return the anonymous user.

Inherited from LaunchpadBrowserPublication:

Method __init__ Undocumented
Method annotateTransaction See zope.app.publication.zopepublication.ZopePublication.
Method getDefaultTraversal Undocumented
Method getApplication Undocumented
Method beforeTraversal Undocumented
Method maybeRestrictToTeam Undocumented
Method getNonRestrictedURL Returns the non-restricted version of the request URL.
Method constructPageID Given a view, figure out what its page ID should be.
Method callObject See zope.publisher.interfaces.IPublication.
Method afterCall See zope.publisher.interfaces.IPublication.
Method finishReadOnlyRequest Hook called at the end of a read-only request.
Method callTraversalHooks We don't want to call _maybePlacefullyAuthenticate as does
Method afterTraversal See zope.publisher.interfaces.IPublication.
Method handleException Undocumented
Method beginErrorHandlingTransaction Hook for when a new view is started to handle an exception.
Method endRequest Undocumented
Method _maybePlacefullyAuthenticate This should never be called because we've excised it in
def traverseName(self, request, ob, name):
Override traverseName to restrict urls on feeds.launchpad.net.

Feeds.lp.net should only serve classes that implement the IFeed interface or redirect to some other url.

def getPrincipal(self, request):
For feeds always return the anonymous user.
API Documentation for Launchpad, generated by pydoctor at 2020-07-03 00:00:04.