User's Guide:i2p.SimpleHTTPServer

From Python-I2P.

Emulates Python SimpleHTTPServer module using I2P sockets.

Overview

The Python module is described at http://www.python.org/doc/current/lib/module-SimpleHTTPServer.html

To get a server going, use:

Consult the documentation for function test() to change basic server settings, such as the session name.

A fully customizable example:

Classes

class SimpleHTTPRequestHandler

Functions

test(HandlerClass=SimpleHTTPRequestHandler, ServerClass= i2p.BaseHTTPServer.HTTPServer, session='mytestxxx.i2p')