mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
httpserver: Firewall do* methods.
This commit is contained in:
parent
eff7d5e671
commit
4fffdbccd2
@ -258,6 +258,15 @@ class SupyHTTPRequestHandler(BaseHTTPRequestHandler):
|
||||
class SupyHTTPServerCallback(object):
|
||||
"""This is a base class that should be overriden by any plugin that want
|
||||
to have a Web interface."""
|
||||
__metaclass__ = log.MetaFirewall
|
||||
__firewalled__ = {'doGet': None,
|
||||
'doPost': None,
|
||||
'doHead': None,
|
||||
'doPut': None,
|
||||
'doDelete': None,
|
||||
}
|
||||
|
||||
|
||||
fullpath = False
|
||||
name = "Unnamed plugin"
|
||||
defaultResponse = _("""
|
||||
|
Loading…
Reference in New Issue
Block a user