Show More
@@ -220,5 +220,4 b'' | |||
|
220 | 220 | tests/test-url.py requires print_function |
|
221 | 221 | tests/test-walkrepo.py requires print_function |
|
222 | 222 | tests/test-wireproto.py requires print_function |
|
223 | tests/tinyproxy.py not using absolute_import | |
|
224 | 223 | tests/tinyproxy.py requires print_function |
@@ -1,5 +1,7 b'' | |||
|
1 | 1 | #!/usr/bin/env python |
|
2 | 2 | |
|
3 | from __future__ import absolute_import | |
|
4 | ||
|
3 | 5 | __doc__ = """Tiny HTTP Proxy. |
|
4 | 6 | |
|
5 | 7 | This module implements GET, HEAD, POST, PUT and DELETE methods |
@@ -12,7 +14,12 b' Any help will be greatly appreciated. ' | |||
|
12 | 14 | |
|
13 | 15 | __version__ = "0.2.1" |
|
14 | 16 | |
|
15 | import BaseHTTPServer, select, socket, SocketServer, urlparse, os | |
|
17 | import BaseHTTPServer | |
|
18 | import os | |
|
19 | import select | |
|
20 | import socket | |
|
21 | import SocketServer | |
|
22 | import urlparse | |
|
16 | 23 | |
|
17 | 24 | class ProxyHandler (BaseHTTPServer.BaseHTTPRequestHandler): |
|
18 | 25 | __base = BaseHTTPServer.BaseHTTPRequestHandler |
General Comments 0
You need to be logged in to leave comments.
Login now