[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-03-08 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

Much better indeed. Thanks.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-03-06 Thread Berker Peksag

Berker Peksag added the comment:

Thanks, Mathieu! I went with a simpler approach to test the code.

--
keywords:  -needs review
nosy: +berker.peksag
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
type: enhancement -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-03-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d135799e952b by Berker Peksag in branch '2.7':
Issue #2202: Fix UnboundLocalError in 
AbstractDigestAuthHandler.get_algorithm_impls
https://hg.python.org/cpython/rev/d135799e952b

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-03-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 22eab50cb585 by Berker Peksag in branch '3.5':
Issue #2202: Fix UnboundLocalError in 
AbstractDigestAuthHandler.get_algorithm_impls
https://hg.python.org/cpython/rev/22eab50cb585

New changeset 046c75c9cd33 by Berker Peksag in branch 'default':
Issue #2202: Fix UnboundLocalError in 
AbstractDigestAuthHandler.get_algorithm_impls
https://hg.python.org/cpython/rev/046c75c9cd33

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-03-03 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

I'm waiting for reviews.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-02-28 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

first draft

--
Added file: http://bugs.python.org/file42045/digest_md5sess_unittest.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-02-28 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

I can see in the tests (test_urllib2_localnet.py) that Digest auth is tested 
only through "ProxyAuthTests". Is that sufficient ? Isn't it a bug ? If no, 
should I add the test in that class ?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-02-18 Thread Martin Panter

Martin Panter added the comment:

I do wonder if NotImplementedError is the right exception. According to the 
documentation it is derived from RuntimeError and is meant for abstract 
methods, i.e. it is a programmer error. Other cases in urllib.request raise 
ValueError (e.g. AbstractBasicAuthHandler), which is fairly normal for protocol 
errors like this.

Also it would be nice to add a test case for the bug fix.

--
nosy: +martin.panter
stage: needs patch -> patch review
versions: +Python 2.7, Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-02-18 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

python 2.7

--
Added file: http://bugs.python.org/file41949/md5-sess_not_implem_27_v2.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-02-18 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

python current

--
Added file: http://bugs.python.org/file41950/md5-sess_not_implem_cur_v2.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-02-17 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

up

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-12-31 Thread A.M. Kuchling

Changes by A.M. Kuchling a...@amk.ca:


--
nosy:  -akuchling

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-09-30 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

But I think md5-sess should really be integrated. It's a standard mechanism 
described by a RFC (https://www.ietf.org/rfc/rfc2617.txt), and people need it, 
however insecure it may be (aren't other method (md5) insecure too ?).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-09-25 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

and here for the 2.7 branch

--
Added file: http://bugs.python.org/file36725/md5-sess_not_implem_27.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-09-25 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

here is the patch, for the trunk

--
versions:  -Python 3.4
Added file: http://bugs.python.org/file36724/md5-sess_not_implem_cur.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-06-13 Thread Mathieu Dupuy

Mathieu Dupuy added the comment:

Could we at least do something cleaner that let the interpreter raise an 
UnboundLocalError ? Maybe something like NotImplemented ?

--
nosy: +deronnax

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-06-13 Thread R. David Murray

R. David Murray added the comment:

Sure.  Would you like to propose a patch?  It does seem that 
NotImplementedError would be the most appropriate.  It could give Christian's 
reason why it is not implemented.

--
stage: patch review - needs patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-02-03 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
nosy:  -BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2013-07-06 Thread Christian Heimes

Christian Heimes added the comment:

Python 3.3 has been released a while ago and is in bug fix mode.

Personally I'm against this enhancement. It adds a digest auth scheme that is 
based on a broken and insecure hashing algorithm.

--
nosy: +christian.heimes
resolution: accepted - 
type: behavior - enhancement
versions: +Python 3.4 -Python 2.6, Python 2.7, Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-24 Thread Chris Withers

Chris Withers ch...@simplistix.co.uk added the comment:

Who with and where does the argument need to be had?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-24 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Hmm.  How about python-committers?  I would suggest python-dev, but that feels 
like invoking the dragon :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-23 Thread Chris Withers

Chris Withers ch...@simplistix.co.uk added the comment:

Hmm, I'd argue it's a bug:

  File /usr/lib64/python2.5/urllib2.py, line 972, in get_algorithm_impls
return H, KD
UnboundLocalError: local variable 'H' referenced before assignment

...does not say anything like:

The digest authentication scheme you have requested is not supported

Now, as to whether it's a bug that 'MD5-sess' isn't supported is a tougher 
call. The XXX indicates the intention was certainly for it to be supported...

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-23 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Oh, the bad error message is definitely a bug.  The question is whether we can 
also add md5-sess support while fixing it.  Sounds like Senthil thinks no, in 
which case this issue needs to be split into two parts.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-23 Thread Chris Withers

Chris Withers ch...@simplistix.co.uk added the comment:

...which is, of course, rather disappointing.
When *would* md5-sess land? 2.7? 3.3?!

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-23 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

3.3.

IMO this is in the grey area between feature and bug fix.  I think it is 
possible to argue that it can be treated as a bug fix, but I think we need 
opinions from other developers if we want to try to go that route.

The reason I think it can be argued that it can be treated as a bug fix is that 
(if I understand correctly) there is no difference in the application code.  
The only difference is whether or not one can successfully communicate with IIS 
6.  That may not be a sufficient argument, but it is an argument :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread Chris Withers

Chris Withers ch...@simplistix.co.uk added the comment:

Just got bitten by this as well, what still needs to happen with the patch?

--
keywords:  -easy
nosy: +cjw296

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

One question is whether this is a bug fix or a feature request.

Other than that, I'd like to see the test classes collapsed into a single test 
class, considering that each one only has a single test in it.  Probably 
ProxyAuthTests should be refactored so that the stuff that is currently in 
setUp is a method that gets called with appropriate parameters instead, and all 
the new tests moved on to ProxyAuthTests.

Also, a version of the patch for 3.x would be most helpful, since it won't port 
cleanly due to the renamings.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread Senthil Kumaran

Senthil Kumaran sent...@uthcode.com added the comment:

Yes, it is a feature. Sorry that I have not paid attention to this. The Windows 
(IIS) part led me to delay as I did not have any to test. Let me take this up 
and see through it in 3.3.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-04-11 Thread Kristján Valur Jónsson

Kristján Valur Jónsson krist...@ccpgames.com added the comment:

Is this moving anywhere?  I was asked to apply this patch locally and am 
curious as to whether it is moving into the stdlib.

--
nosy: +krisvale

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-04-11 Thread Santoso Wijaya

Santoso Wijaya santoso.wij...@gmail.com added the comment:

Adding some minor fixes to the original patch to apply cleanly to current 2.7 
tip.

Also, add a conditional branch in the case that the server returns none of the 
supported algorithm strings, to raise a ValueError (the previous patch adds 
support for 'MD5-sess' but the original non-descript stack trace would be seen 
again with some other unsupported algorithm string).

--
nosy: +santa4nt
Added file: http://bugs.python.org/file21619/issue2202_py27.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2010-07-10 Thread Mark Lawrence

Mark Lawrence breamore...@yahoo.co.uk added the comment:

I tried to test the patch but got:-
c:\Python26python.exe lib\test\test_urllib2_localnet.py
Traceback (most recent call last):
  File lib\test\test_urllib2_localnet.py, line 325, in module
class DigestMD5sessClientAuthTests(BaseTestCase):
NameError: name 'BaseTestCase' is not defined

--
nosy: +BreamoreBoy
stage: unit test needed - patch review
versions: +Python 2.7, Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2010-07-10 Thread Senthil Kumaran

Changes by Senthil Kumaran orsent...@gmail.com:


--
assignee: georg.brandl - orsenthil
resolution:  - accepted

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2010-01-21 Thread Manuel Muradás

Manuel Muradás mmura...@dieresys.com.ar added the comment:

Here is a patch for supporting MD5-sess, following RFC2617 specification.

Some comments/warnings:
 * I've only tested the patch against IIS 6.0. I don't know about other servers 
supporting MD5-sess.
 * IIS 6.0 expects the User Agent to send the URI (in the Authorization header) 
without the query string.
 * This patch doesn't add support for Digest sessions. For each request we 
make, we get a new [401|407] message with a new nonce (depending if we're 
talking about a proxy with digest authentication or a web server). Then we 
generate another authenticated request using that nonce. For Digest sessions to 
be fully supported, we should be adding an [WWW|Proxy]-Authenticate header in 
each following request we made to the server using the last nonce. This 
includes both MD5-sess and MD5 digest implementations.
 * A1 is being recalculated for every request. Given the above, this is not a 
real problem.

I'll open a new ticket regarding Digest sessions.

--
keywords: +patch
nosy: +dieresys
Added file: http://bugs.python.org/file15964/urllib2-support_md5-sess.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2010-01-21 Thread Brian Curtin

Changes by Brian Curtin cur...@acm.org:


--
keywords: +needs review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
versions:  -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +jjlee

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2008-03-19 Thread Sean Reifschneider

Changes by Sean Reifschneider [EMAIL PROTECTED]:


--
assignee:  - georg.brandl
nosy: +georg.brandl
priority:  - normal
versions: +Python 2.6

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2202
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2008-02-28 Thread Brendan W. McAdams

New submission from Brendan W. McAdams:

URLLIB2 seems to have issues attempting to digest authenticate against a
Windows-based IIS 6.x server.  The IIS server requests MD5-sess support,
and URLLIB2 throws an exception that ... far from explains this:

Traceback (most recent call last):
  File /usr/lib64/python2.5/runpy.py, line 95, in run_module
filename, loader, alter_sys)
  File /usr/lib64/python2.5/runpy.py, line 52, in _run_module_code
mod_name, mod_fname, mod_loader)
  File /usr/lib64/python2.5/runpy.py, line 32, in _run_code
exec code in run_globals
  File /srv/pubPal/test/test_auth.py, line 16, in module
print opener.open(uri)
  File /usr/lib64/python2.5/urllib2.py, line 380, in open
response = meth(req, response)
  File /usr/lib64/python2.5/urllib2.py, line 491, in http_response
'http', request, response, code, msg, hdrs)
  File /usr/lib64/python2.5/urllib2.py, line 412, in error
result = self._call_chain(*args)
  File /usr/lib64/python2.5/urllib2.py, line 353, in _call_chain
result = func(*args)
  File /usr/lib64/python2.5/urllib2.py, line 992, in http_error_401
host, req, headers)
  File /usr/lib64/python2.5/urllib2.py, line 884, in http_error_auth_reqed
return self.retry_http_digest_auth(req, authreq)
  File /usr/lib64/python2.5/urllib2.py, line 889, in
retry_http_digest_auth
auth = self.get_authorization(req, chal)
  File /usr/lib64/python2.5/urllib2.py, line 920, in get_authorization
H, KD = self.get_algorithm_impls(algorithm)
  File /usr/lib64/python2.5/urllib2.py, line 972, in get_algorithm_impls
return H, KD
UnboundLocalError: local variable 'H' referenced before assignment


The offending code is urllib2.py line 972:

def get_algorithm_impls(self, algorithm):
# lambdas assume digest modules are imported at the top level
if algorithm == 'MD5':
H = lambda x: hashlib.md5(x).hexdigest()
elif algorithm == 'SHA':
H = lambda x: hashlib.sha1(x).hexdigest()
# XXX MD5-sess
KD = lambda s, d: H(%s:%s % (s, d))
return H, KD

I'm not sure what's meant by the # XXX MD5-sess comment there... But
what ends up happening is that MD5-sess matches neither the if or the
elif, and when return attempts to return, H is undefined.

This could be easily patched, but support for MD5-sess would be great as
well.  

In my estimation, at the least, urllib2 shouldn't crap out in such an
obscure way when encountering an unsupported algorithm.

I'd suggest changing line 970 (The # XXX MD5-sess line) to:

 raise Exception, Unsupported Digest Authentication Algorithm '%s' %
(algorithm)

--
components: Library (Lib)
messages: 63101
nosy: bwmcadams
severity: normal
status: open
title: urllib2 fails against IIS 6.0 (No support for MD5-sess auth)
type: crash
versions: Python 2.5

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2202
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2008-02-28 Thread Brendan W. McAdams

Brendan W. McAdams added the comment:

Sorry, this isn't a crash.  It doesn't crash the interpreter.  I'll
assume behavior' is the correct categorization.

--
type: crash - behavior

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2202
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com