[issue24333] urllib2 HTTPS connection over a digest auth enabled proxy gives 407

2015-05-30 Thread Martin Panter
Martin Panter added the comment: There is already work done on this at Issue 7291. There is a patch there, but IMO it needs more work or a different approach. -- nosy: +vadmium resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> urllib2 cannot handle htt

[issue24333] urllib2 HTTPS connection over a digest auth enabled proxy gives 407

2015-05-30 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: For those who are working on this problem, my squid.conf may be helpful: --- squid.conf.default 2015-05-31 03:33:34.006361795 +0800 +++ squid.conf 2015-05-31 03:36:28.533034294 +0800 @@ -49,9 +49,15 @@ # Example rule allowing access from your local networks.

[issue24333] urllib2 HTTPS connection over a digest auth enabled proxy gives 407

2015-05-30 Thread Chi Hsuan Yen
New submission from Chi Hsuan Yen: This is originally my question at stackoverflow.com. (http://stackoverflow.com/q/30511341/3786245) I think it's a bug, so I posted it here. I'm trying to fetch HTTPS pages through a proxy with digest authentication. Here are my codes: import urllib.request