00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __libutilxx__sella__server__Code_H__
00010 #define __libutilxx__sella__server__Code_H__
00011
00012 #include "../../common.h"
00013
00014 namespace sella {
00015 namespace server {
00016 class Code;
00017 }
00018 }
00019
00020 class sella::server::Code {
00021 public:
00022
00023 enum Codes : int {
00024 Continue = 100,
00025 OK = 200, Created = 201, NoContent = 204,
00026 BadRequest = 400, Unauthorized = 401, Forbidden = 403, NotFound = 404, MethodNotAllowed = 405, Gone = 410, RequestEntityTooLarge = 413,
00027 InternalServerError = 500, NotImplemented = 501, ServiceUnavailable = 503
00028 };
00029 };
00030
00031 #endif
00032
00033
00034
00035