This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib and socket fail with MS proxy
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, jhylton, milosoftware, skip.montanaro
Priority: normal Keywords:

Created on 2001-05-24 06:27 by anonymous, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Messages (6)
msg4844 - (view) Author: Nobody/Anonymous (nobody) Date: 2001-05-24 06:27
Both urllib and socket fail to work with MS proxy with 
winsock client install.

urllib's proxy detection will correctly detect the 
existing of the proxy server but fail to work with it. 
It will return an empty page when an read() is issued.

socket will report 1006 winsock error.
msg4845 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2001-07-06 16:16
Logged In: YES 
user_id=31392

Can you provide more details?  What is MS proxy?  What URLs 
have you tried and what exactly is the response -- headers 
would help?  Under what conditions does socket raise a 
winsock error?

Do socket and urllib work on your platform without the 
proxy?
msg4846 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2002-03-10 01:18
Logged In: YES 
user_id=44345

Jeremy,

I assigned this to you simply because you commented on 
it.
It was submitted anonymously and the OP never responded 
to
your comment.  I think it should be marked "invalid" and
closed.  Whaddya think?

Skip
msg4847 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-03-31 23:44
Logged In: YES 
user_id=6380

Can you see if the patch from SF bug 503031
(http://www.python.org/sf/503031) solves your problem?
msg4848 - (view) Author: Mike Looijmans (milosoftware) Date: 2003-01-29 10:23
Logged In: YES 
user_id=698929

Maybe this hint helps:

The MS proxy apparently uses NT's built-in authorization,
not really the 'basic' authentication as in RFC 2068. The
distributed.net RC5 client suffered from the same problem,
but they managed to work around it. You may find the
solution there.

The MS Proxy is included with MS Exchange server.
msg4849 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2003-02-03 21:33
Logged In: YES 
user_id=6380

That's a good hint, but nobody here has access to MS
Exchange server to test this, nor do we have time to
reverse-engineer distributed.net code.

So I'm closing this bug as WON'T FIX -- the OP has had half
a year to respond.

If you have a patch, please upload to a new patch tracker issue.
History
Date User Action Args
2022-04-10 16:04:04adminsetgithub: 34538
2001-05-24 06:27:11anonymouscreate