[Twisted-Python] how to create a http proxy client in twisted?

Hoxide Ma hoxide_dirac at yahoo.com.cn
Sat Jan 8 03:46:30 EST 2005


is there any example?

which example in TwistedDocs\examples\Proxy.py just
like that:

from twisted.internet import reactor
from twisted.web import proxy, server

site =
server.Site(proxy.ReverseProxyResource('www.yahoo.com',
80, '/'))
reactor.listenTCP(8080, site)
reactor.run()

what's that means?

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/




More information about the Twisted-Python mailing list