mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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):
|
class SupyHTTPServerCallback(object):
|
||||||
"""This is a base class that should be overriden by any plugin that want
|
"""This is a base class that should be overriden by any plugin that want
|
||||||
to have a Web interface."""
|
to have a Web interface."""
|
||||||
|
__metaclass__ = log.MetaFirewall
|
||||||
|
__firewalled__ = {'doGet': None,
|
||||||
|
'doPost': None,
|
||||||
|
'doHead': None,
|
||||||
|
'doPut': None,
|
||||||
|
'doDelete': None,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
fullpath = False
|
fullpath = False
|
||||||
name = "Unnamed plugin"
|
name = "Unnamed plugin"
|
||||||
defaultResponse = _("""
|
defaultResponse = _("""
|
||||||
|
Loading…
Reference in New Issue
Block a user