import requests
proxies = {
'http': 'http://user:pass@ip:5501',
'https': 'http://user:pass@ip:5501'
}
requests.get('http://www.google.com/',proxies=proxies)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('\x00[\x00\x00\x00\x00\x00\x00'))