diff --git a/apps/sam/python/src/i2p/I2PCGIHTTPServer.py b/apps/sam/python/src/i2p/I2PCGIHTTPServer.py index d50919783..2b1016d78 100644 --- a/apps/sam/python/src/i2p/I2PCGIHTTPServer.py +++ b/apps/sam/python/src/i2p/I2PCGIHTTPServer.py @@ -5,6 +5,7 @@ from CGIHTTPServer import nobody_uid, executable import I2PBaseHTTPServer, I2PSimpleHTTPServer +HTTPServer = I2PBaseHTTPServer.HTTPServer class CGIHTTPRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler): pass def test(HandlerClass = CGIHTTPRequestHandler, diff --git a/apps/sam/python/src/i2p/I2PSimpleHTTPServer.py b/apps/sam/python/src/i2p/I2PSimpleHTTPServer.py index c05aac137..9327475a4 100644 --- a/apps/sam/python/src/i2p/I2PSimpleHTTPServer.py +++ b/apps/sam/python/src/i2p/I2PSimpleHTTPServer.py @@ -8,6 +8,7 @@ __version__ = "0.1.0" __all__ = ["SimpleHTTPRequestHandler"] +HTTPServer = I2PBaseHTTPServer.HTTPServer class SimpleHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): pass