From ac3b32229543d356fe3f7c00e12615ab09b4a906 Mon Sep 17 00:00:00 2001 From: karim hamidou Date: Sun, 6 Dec 2009 18:52:26 +0100 Subject: [PATCH] some cosmetic change --- COPYING | 3 ++- README | 1 + http_proxy.py => tunnel.py | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) mode change 100644 => 100755 COPYING mode change 100644 => 100755 README rename http_proxy.py => tunnel.py (97%) diff --git a/COPYING b/COPYING old mode 100644 new mode 100755 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 new mode 100755 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 diff --git a/http_proxy.py b/tunnel.py similarity index 97% rename from http_proxy.py rename to tunnel.py index 3d82b2d..5956485 100755 --- a/http_proxy.py +++ 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): -- 2.43.0