Skip to content

Commit 349697c

Browse files
authored
fix compatibility with radicale >= 3.5.9 (#362)
1 parent 9533bbb commit 349697c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etesync_dav/radicale_main/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@
5353

5454

5555
class MyApplication(Application):
56-
def do_POST(self, environ, base_prefix, path, user):
56+
def do_POST(self, environ, base_prefix, path, user, remote_host="", user_agent=""):
5757
"""Manage POST request."""
5858
# Dispatch .web URL to web module
5959
if path == "/.web" or path.startswith("/.web/"):
6060
return self._web.post(environ, base_prefix, path, user)
6161

62-
return super().do_POST(environ, base_prefix, path, user)
62+
return super().do_POST(environ, base_prefix, path, user, remote_host, user_agent)
6363

6464

6565
def format_address(address):

0 commit comments

Comments
 (0)