[Python-Dev] Adding status code constants to httplib (original) (raw)
Phillip J. Eby pje at telecommunity.com
Fri Sep 10 18:08:37 CEST 2004
- Previous message: [Web-SIG] Re: [Python-Dev] Adding status code constants to httplib
- Next message: [Python-Dev] Re: [Web-SIG] Adding status code constants to httplib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 04:12 PM 9/10/04 +0100, Andrew Eland wrote:
Phillip J. Eby wrote:
I would also put the statuses in a dictionary, such that: statuscode[BADGATEWAY] = "Bad Gateway" There's a table mapping status codes to messages on BaseHTTPRequestHandler at the moment. It could be moved into httplib to make it more publically visible.
It doesn't appear to include HTTP/1.1 status codes.
- Previous message: [Web-SIG] Re: [Python-Dev] Adding status code constants to httplib
- Next message: [Python-Dev] Re: [Web-SIG] Adding status code constants to httplib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]