durusmail: quixote-users: [PATCH] http response code enumeration
Accept-aware functions via metaclasses
2003-09-25
2003-09-26
Re: Accept-aware functions via metaclasses
2003-09-26
2003-09-26
[PATCH] http response code enumeration
2003-09-26
2003-09-26
2003-09-26
[PATCH] http response code enumeration
Neil Schemenauer
2003-09-26
On Fri, Sep 26, 2003 at 05:11:49PM -0400, John Belmonte wrote:
> +OK                              = 200
> +CREATED                         = 201
> +ACCEPTED                        = 202

I'm worried about namespace collisions.  What do you think of
prefixing STATUS_?  Another option is to put it in it's own module
(e.g. http_status).  I don't think http_response too large yet,
however and these codes definite are HTTP response related.

  Neil

reply