cool!
thanks !
--
http://mail.python.org/mailman/listinfo/python-list
JuHui wrote:
> I want to get a html page content via a http proxy.
> befor this, I want to check the proxy. how to validate it?
> thanks
>
most simple by a socket-connect / error if non-existing:
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> s.connect(('nonexisting-proxy-server
I want to get a html page content via a http proxy.
befor this, I want to check the proxy. how to validate it?
thanks
--
http://mail.python.org/mailman/listinfo/python-list
JuHui:
>If a proxy is alive then return true, else return fals after 1 second.
What kind of proxy? Design pattern? Protocol? Which one?
--
René Pijlman
--
http://mail.python.org/mailman/listinfo/python-list
If a proxy is alive then return true, else return fals after 1 second.
thanks
--
http://mail.python.org/mailman/listinfo/python-list