Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions etesync_dav/radicale_main/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@


class MyApplication(Application):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linting is failing, can you please fix it?

def do_POST(self, environ, base_prefix, path, user):
def do_POST(self, environ, base_prefix, path, user, remote_host="", user_agent=""):
"""Manage POST request."""
# Dispatch .web URL to web module
if path == "/.web" or path.startswith("/.web/"):
return self._web.post(environ, base_prefix, path, user)

return super().do_POST(environ, base_prefix, path, user)
return super().do_POST(environ, base_prefix, path, user, remote_host, user_agent)


def format_address(address):
Expand Down