A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/048783.html below:

[Python-Dev] Adding status code constants to httplib

[Python-Dev] Adding status code constants to httplib [Python-Dev] Adding status code constants to httplibAndrew Eland andrew at andreweland.org
Fri Sep 10 17:12:02 CEST 2004
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4