diff -r c37c47e47a95 -r a2566597acb5 mercurial/hgweb/server.py --- a/mercurial/hgweb/server.py Wed Mar 14 23:34:08 2018 -0400 +++ b/mercurial/hgweb/server.py Sat Mar 17 01:23:01 2018 -0400 @@ -112,6 +112,9 @@ self.log_error(r"Exception happened during processing " r"request '%s':%s%s", self.path, newline, tb) + def do_PUT(self): + self.do_POST() + def do_GET(self): self.do_POST()