log on_notice_condition: implementation
This commit is contained in:
@@ -28,10 +28,10 @@ from radicale import httputils, types, web
|
||||
class Web(web.BaseWeb):
|
||||
|
||||
def get(self, environ: types.WSGIEnviron, base_prefix: str, path: str,
|
||||
user: str) -> types.WSGIResponse:
|
||||
user: str, request_info: dict) -> types.WSGIResponse:
|
||||
return client.OK, {"Content-Type": "text/plain"}, "custom", None
|
||||
|
||||
def post(self, environ: types.WSGIEnviron, base_prefix: str, path: str,
|
||||
user: str) -> types.WSGIResponse:
|
||||
content = httputils.read_request_body(self.configuration, environ)
|
||||
user: str, request_info: dict) -> types.WSGIResponse:
|
||||
content = httputils.read_request_body(self.configuration, environ, request_info)
|
||||
return client.OK, {"Content-Type": "text/plain"}, "echo:" + content, None
|
||||
|
||||
Reference in New Issue
Block a user