summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
blob: 5e1a605eceead8a077d23b1c0dfc1ba5f476ec19 (plain)
1
2
3
4
5
6
7
8
9
10
from zope.interface import Interface

class IWSGIApplication(Interface):
    def __call__(environ, start_response):
        """ Represent a WSGI (PEP 333) application """

class IPolicy(Interface):
    def __call__(environ):
        """ Return a tuple in the form (context, name, subpath) """