public static String Stringify(this HttpMethod method)
{
switch (method)
{
case HttpMethod.Get:
return "GET";
case HttpMethod.Delete:
return "DELETE";
case HttpMethod.Post:
return "POST";
case HttpMethod.Put:
return "PUT";
default:
return method.ToString().ToUpperInvariant();
}
}