X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstatus.h;h=075016dd48aee2c6acc17fc345a48746d6bb306a;hb=2ced7606eb9090cdddd89e0481c441403d367bb2;hp=5d2b19686075bb2a51b5bb1d29cf20e7a3dff94f;hpb=070d56e7b0036ca2e4234eb06dcae83ebfb3df34;p=libs%2Fnet.git diff --git a/source/status.h b/source/status.h index 5d2b196..075016d 100644 --- a/source/status.h +++ b/source/status.h @@ -1,10 +1,3 @@ -/* $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_ @@ -15,13 +8,13 @@ namespace Http { 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);