文章详情
时间:2009-03-14 来源:riverbird2005
import SocketServer import SimpleHTTPServer import urllib PORT = 1234 class Proxy(SimpleHTTPServer.SimpleHTTPRequestHandler): def do_GET(self): self.copyfile(urllib.urlopen(self.path), self.wfile) httpd = SocketServer.ForkingTCPServer(('', PORT), Proxy) print "serving at port", PORT httpd.serve_forever()
有兴趣的朋友可以自行调试.
坦克战争世界
丛林反击战
几何飞行安卓版
1970-01-01