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:
parent
d3bb19800c
commit
80e8750c8a
4 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue