User's Guide:i2p.BaseHTTPServer

From Python-I2P.

Emulates Python BaseHTTPServer module using I2P sockets.

Overview

The Python module is described at http://www.python.org/doc/current/lib/module-BaseHTTPServer.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 BaseHTTPRequestHandler

class HTTPServer

Functions

test(HandlerClass=BaseHTTPRequestHandler, ServerClass=HTTPServer, protocol='HTTP/1.0', session='mytestxxx.i2p')