joyent/http-parser — pull request #98 by bnoordhuis (2012-02-27 22:43:27+00:00)
Title: Replace HTTP methods enum with X-macro map.

Makes it easier for integrators to generate bindings for the HTTP methods that we support. Example:

// stringify method names
const char *methods[] = {
#define XX(num, name) #name,
HTTP_METHOD_MAP(XX)
#undef XX
};

I hope and assume that this is an uncontroversial change. :-)