Phillip J. Eby wrote: > I would also put the statuses in a dictionary, such that: > > status_code[BAD_GATEWAY] = "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. -- Andrew