17 lines
414 B
Python
17 lines
414 B
Python
![]() |
#! /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()
|
||
|
|