1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Add more tests

This commit is contained in:
Unrud 2020-09-14 18:46:46 +02:00
parent d3bb19800c
commit 80e8750c8a
4 changed files with 8 additions and 7 deletions

View file

@ -29,4 +29,5 @@ class Web(web.BaseWeb):
return client.OK, {"Content-Type": "text/plain"}, "custom"
def post(self, environ, base_prefix, path, user):
return client.OK, {"Content-Type": "text/plain"}, "custom post"
answer = "echo:" + environ["wsgi.input"].read().decode()
return client.OK, {"Content-Type": "text/plain"}, answer