]> khamidou — GitHub mirrors - tunnel.git/commitdiff
some cosmetic change
authorkarim hamidou <karim@dar.(none)>
Sun, 6 Dec 2009 17:52:26 +0000 (18:52 +0100)
committerkarim hamidou <karim@dar.(none)>
Sun, 6 Dec 2009 17:52:26 +0000 (18:52 +0100)
COPYING [changed mode: 0644->0755]
README [changed mode: 0644->0755]
tunnel.py [moved from http_proxy.py with 97% similarity]

diff --git a/COPYING b/COPYING
old mode 100644 (file)
new mode 100755 (executable)
index fbf57da..09f3b46
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,5 @@
-Copyright (c) 2001 SUZUKI Hisao
+Copyright (c) 2009 Karim Hamidou
+Copyright (c) 2001 Hisao SUZUKI
 
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
diff --git a/README b/README
old mode 100644 (file)
new mode 100755 (executable)
index e69de29..2aa284a
--- a/README
+++ b/README
@@ -0,0 +1 @@
+tunnel is a personal proxy - that is, a tool that will filter costly distractions of our modern internet world.
\ No newline at end of file
similarity index 97%
rename from http_proxy.py
rename to tunnel.py
index 3d82b2d7bd71aedad399f346ad52068a21617ff4..595648570f2e2aa4a9bc9c7da3ab547f71034de7 100755 (executable)
+++ b/tunnel.py
@@ -1,7 +1,7 @@
 #!/bin/sh -
 "exec" "python" "-O" "$0" "$@"
 
-__doc__ = """Tiny HTTP Proxy.
+__doc__ = """tunnel.
 
 This module implements GET, HEAD, POST, PUT and DELETE methods
 on BaseHTTPServer, and behaves as an HTTP proxy.  The CONNECT
@@ -11,7 +11,7 @@ tested yet.
 Any help will be greatly appreciated.          SUZUKI Hisao
 """
 
-__version__ = "0.2.1"
+__version__ = "0.0.1"
 
 import BaseHTTPServer, select, socket, SocketServer, urlparse
 
@@ -19,7 +19,7 @@ class ProxyHandler (BaseHTTPServer.BaseHTTPRequestHandler):
     __base = BaseHTTPServer.BaseHTTPRequestHandler
     __base_handle = __base.handle
 
-    server_version = "TinyHTTPProxy/" + __version__
+    server_version = "tunnel/" + __version__
     rbufsize = 0                        # self.rfile Be unbuffered
 
     def handle(self):