1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Improve documentation

This commit is contained in:
Unrud 2017-06-16 23:16:19 +02:00
parent 0cb6642ec3
commit 070a39a51d
3 changed files with 21 additions and 3 deletions

View file

@ -67,6 +67,18 @@ class BaseWeb:
self.configuration = configuration
self.logger = logger
def get(self, environ, base_prefix, path, user):
"""GET request.
``base_prefix`` is sanitized and never ends with "/".
``path`` is sanitized and always starts with "/.web"
``user`` is empty for anonymous users.
"""
raise NotImplementedError
class NoneWeb(BaseWeb):
def get(self, environ, base_prefix, path, user):