From 598732915efad185c63115963484531cd1602fa2 Mon Sep 17 00:00:00 2001 From: aum Date: Sun, 1 Aug 2004 03:21:11 +0000 Subject: [PATCH] Added ref to HTTPServer I2PCGIHTTPServer and I2PSimpleHTTPServer to save users having to unnecessarily import i2p.I2PBaseHTTPServer --- apps/sam/python/src/i2p/I2PCGIHTTPServer.py | 1 + apps/sam/python/src/i2p/I2PSimpleHTTPServer.py | 1 + 2 files changed, 2 insertions(+) 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