mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
httpserver: Fix pointless tracebacks
because doGet does not accept the 'form' argument
This commit is contained in:
parent
db99332079
commit
8559ea9848
@ -268,7 +268,8 @@ class SupyHTTPServerCallback(log.Firewalled):
|
||||
def doHead(self, handler, path):
|
||||
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):
|
||||
"""Handles GET request to /.well-known/"""
|
||||
|
Loading…
Reference in New Issue
Block a user