Files
i2p.itoopie/apps/sam/python/src/i2p/I2PCGIHTTPServer.py

17 lines
414 B
Python
Raw Normal View History

#! /usr/bin/env python
import CGIHTTPServer
from CGIHTTPServer import nobody_uid, executable
import I2PBaseHTTPServer, I2PSimpleHTTPServer
class CGIHTTPRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler):
pass
def test(HandlerClass = CGIHTTPRequestHandler,
ServerClass = I2PBaseHTTPServer.HTTPServer):
I2PSimpleHTTPServer.test(HandlerClass, ServerClass)
if __name__ == '__main__':
test()