Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(1)  |  Import(0)
Simple handler that can check for auth headers

In your subclass you have to define the method get_userinfo(user, password)
which should return 1 or None depending on whether the password was
ok or not. None means that the user is not authorized.

src/p/y/PyWebDAV-0.9.8/pywebdav/lib/WebDAVServer.py   PyWebDAV(Download)
class DAVRequestHandler(AuthServer.AuthRequestHandler, LockManager):
    """Simple DAV request handler with
    - GET
    - HEAD