[Python-checkins] r42455 - in python/trunk: Doc/lib/libhttplib.tex Doc/lib/liburllib2.tex Lib/BaseHTTPServer.py Lib/httplib.py Lib/urllib2.py

Georg Brandl g.brandl at gmx.net
Fri Feb 17 23:03:59 CET 2006


Guido van Rossum wrote:
> Also - did you check that these are all the error codes defined by the
> most recent HTTP standard? And are the message conform to that
> standard?

Yes, I did, these are defined in RFC 2616. The first version of this dict
included informal longer error messages, these were dropped because only
the short names are official.

BaseHTTPServer includes its own long messages, but that's okay for a server.

> On 2/17/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> georg.brandl wrote:
>> > Modified:
>> >    python/trunk/Doc/lib/libhttplib.tex
>> >    python/trunk/Doc/lib/liburllib2.tex
>> >    python/trunk/Lib/BaseHTTPServer.py
>> >    python/trunk/Lib/httplib.py
>> >    python/trunk/Lib/urllib2.py
>> > Log:
>> > Move "httpresponses" dict from urllib2 to httplib where it belongs.
>>
>> That appears to have broken test_urllib2:
>>
>> http://www.python.org/dev/buildbot/

Thanks, fixed.

Georg



More information about the Python-checkins mailing list