From a75a999e3b8dbd9f836e7e6024fa0bfe9523dc37 Mon Sep 17 00:00:00 2001 From: aum <aum> Date: Fri, 30 Jul 2004 12:38:12 +0000 Subject: [PATCH] README file for adapted python server modules --- apps/sam/python/README-servers.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 apps/sam/python/README-servers.txt diff --git a/apps/sam/python/README-servers.txt b/apps/sam/python/README-servers.txt new file mode 100644 index 0000000000..6ec88435b6 --- /dev/null +++ b/apps/sam/python/README-servers.txt @@ -0,0 +1,14 @@ +# This package includes the standard Python socket server modules, +# SocketServer, BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer, +# hacked for compatibility with I2P Sam python sockets. +# +# To avoid clashing the standard python modules, you should +# take care when importing the I2P-ised versions so: +# 'import SocketServer' becomes 'import i2p.SocketServer' +# 'import BaseHTTPServer' -> 'import i2p.BaseHTTPServer' +# 'import SimpleHTTPServer' -> 'import i2p.SimpleHTTPServer' +# 'import CGIHTTPServer' -> 'import i2p.CGIHTTPServer' +# +# Enclosed here is a minimally simple yet working httpd, in file +# 'example_httpd.py'. +# -- GitLab