how to validate a proxy is alive?

J

JuHui

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
 
R

robert

JuHui said:
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:
Traceback (most recent call last):
File "<interactive input>", line 1, in ?



Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,289
Messages
2,571,448
Members
48,126
Latest member
ToneyChun2

Latest Threads

Top