How can urllib2 / httplib talk HTTP 1.1 for HTTPS connections via a Squid proxy?
问题 When I use urllib2 to make a HTTP 1.1 connection via a squid proxy, squid makes a new ongoing connection in HTTP 1.0. How can I persuade Squid to talk 1.1 to the destination server? 回答1: After dealing with this problem for an entire afternoon, i found the solution. So please excuse me answering my own question, but it would be great if someone else finds this useful and it saves them the pain. In order to get Squid to have a HTTP 1.1 conversation with the destination server, the original