How to check login requests with proxy authentication in python? -


i use proxy list in python.

but need check if proxy authentication true or false in request.

for example:

f = requests.session() f.proxies.update({'http': 'http://{}:{}@{}:{}'.format(self.config.get('proxy', 'user'), self.config.get('proxy', 'pass'), proxy_row['ip'], proxy_row['port'])}) f.get("{}".format(self.url), timeout=30, verify=false) 

1- how check if proxy authentication true or false?

2- have logout after authentication proxy?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -