[ python-Bugs-1421696 ] http response dictionary incomplete

SourceForge.net noreply at sourceforge.net
Mon Feb 6 01:56:22 CET 2006


Bugs item #1421696, was opened at 2006-02-01 17:56
Message generated for change (Comment added) made by jjlee
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1421696&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Nobody/Anonymous (nobody)
Summary: http response dictionary incomplete

Initial Comment:
httplib and BaseHTTPServer each maintain their own copy 
of possible response codes.

They don't agree.

It looks like the one in httplib is a superset of the 
one in BaseHTTPServer.BaseHTTPRequestHandler.responses, 
and httplib is the logical place for it, but

(1)  They map in opposite directions.

(2)  The httplib version is just a bunch of names at 
the module toplevel, with no particular grouping that 
separates them from random classes, or makes them easy 
to import as a group.

(3)  The httplib names are explicitly not exported.



----------------------------------------------------------------------

Comment By: John J Lee (jjlee)
Date: 2006-02-06 00:56

Message:
Logged In: YES 
user_id=261020

There's also one in urllib2 :-(

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1421696&group_id=5470


More information about the Python-bugs-list mailing list