R. David Murray added the comment:

Looks like that's not the only code that was missed (I see 102 is also not 
listed).

What happened was that the responses table was originally part of urllib2, and 
was moved into httplib (back when it was httplib).  But httplib had more 
response codes in it than the urllib2 did, apparently.

I think it makes sense to make them consistent (add the missing ones to 
responses), even though it is not clear that the constants are used anywhere.

I wonder if it makes sense to use an Enum here somehow...

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to