-/* $Id$
-
-This file is part of libmsphttp
-Copyright © 2008 Mikkosoft Productions, Mikko Rasa
-Distributed under the LGPL
-*/
-
#ifndef MSP_HTTPSERVER_STATUS_H_
#define MSP_HTTPSERVER_STATUS_H_
enum Status
{
- None=0,
- OK=200,
- BadRequest=400,
- Forbidden=403,
- NotFound=404,
- InternalError=500,
- NotImplemented=501
+ NONE = 0,
+ OK = 200,
+ BAD_REQUEST = 400,
+ FORBIDDEN = 403,
+ NOT_FOUND = 404,
+ INTERNAL_ERROR = 500,
+ NOT_IMPLEMENTED = 501
};
extern std::ostream &operator<<(std::ostream &, Status);