-/* $Id$
-
-This file is part of libmsphttp
-Copyright © 2008 Mikkosoft Productions, Mikko Rasa
-Distributed under the LGPL
-*/
-
#include "status.h"
using namespace std;
{
switch(status)
{
- case None: out<<"None"; break;
+ case NONE: out<<"None"; break;
case OK: out<<"OK"; break;
- case BadRequest: out<<"Bad Request"; break;
- case Forbidden: out<<"Forbidden"; break;
- case NotFound: out<<"Not Found"; break;
- case InternalError: out<<"Internal Error"; break;
- case NotImplemented: out<<"Not Implemented"; break;
+ case BAD_REQUEST: out<<"Bad Request"; break;
+ case FORBIDDEN: out<<"Forbidden"; break;
+ case NOT_FOUND: out<<"Not Found"; break;
+ case INTERNAL_ERROR: out<<"Internal Error"; break;
+ case NOT_IMPLEMENTED: out<<"Not Implemented"; break;
default: out<<"Unknown Status"; break;
}