[Python-Dev] Re: [Web-SIG] Adding status code constants to httplib

Mark Nottingham mnot at mnot.net
Sat Sep 11 07:24:29 CEST 2004


FYI; status codes as exceptions;
   http://www.mnot.net/python/http/status.py


On Sep 10, 2004, at 9:45 PM, Andrew Eland wrote:

> Hi,
>
> Over in web-sig, we're discussing PEP 333, the Web Server Gateway  
> Interface. Rather than defining our own set of constants for the HTTP  
> status code integers, we thought it would be a good idea to add them  
> to httplib, allowing other applications to benefit. I've uploaded a  
> patch[1] to httplib.py and the corresponding documentation. Do people  
> think this is a good idea?
>
>   -- Andrew Eland (http://www.andreweland.org)
>
> [1]  
> http://sourceforge.net/tracker/index.php? 
> func=detail&aid=1025790&group_id=5470&atid=305470
> _______________________________________________
> Web-SIG mailing list
> Web-SIG at python.org
> Web SIG: http://www.python.org/sigs/web-sig
> Unsubscribe:  
> http://mail.python.org/mailman/options/web-sig/mnot%40mnot.net
>

--
Mark Nottingham     http://www.mnot.net/



More information about the Python-Dev mailing list