httpserver: Fix pointless tracebacks

because doGet does not accept the 'form' argument
This commit is contained in:
Valentin Lorentz 2021-05-17 18:24:21 +02:00
parent db99332079
commit 8559ea9848

View File

@ -268,7 +268,8 @@ class SupyHTTPServerCallback(log.Firewalled):
def doHead(self, handler, path): def doHead(self, handler, path):
self.doGetOrHead(handler, path, write_content=False) self.doGetOrHead(handler, path, write_content=False)
doPost = doGet def doPost(self, handler, path, form=None):
self.doGetOrHead(handler, path, write_content=True)
def doWellKnown(self, handler, path): def doWellKnown(self, handler, path):
"""Handles GET request to /.well-known/""" """Handles GET request to /.well-known/"""