42 static const std::string
GET;
44 static const std::string
PUT;
48 static const std::string
POST;
56 static const std::string
HEAD;
63 static const std::string
COPY;
65 static const std::string
LOCK;
69 static const std::string
MOVE;
93 enum class StatusCode {
98 SWITCHING_PROTOCOLES = 101,
113 NON_AUTH_INFORMATION = 203,
119 PARTIAL_CONTENT = 206,
123 ALREADY_REPORTED = 208,
130 MULTIPLE_CHOICES = 300,
132 MOVE_PERMANENTLY = 301,
144 TEMPORARY_REDIRECT = 307,
146 PERMANENT_REDIRECT = 308,
158 PAYMENT_REQUIRED = 402,
164 METHOD_NOT_ALLOWED = 405,
166 NOT_ACCEPTABLE = 406,
168 PROXY_AUTHENTICATION_REQUIRED = 407,
170 REQUEST_TIMEOUT = 408,
176 LENGTH_REQUIRED = 411,
178 PRECONDITION_FAILED = 412,
180 PAYLOAD_TOO_LARGE = 413,
184 UNSUPPORTED_MEDIA_TYPE = 415,
186 RANGE_NOT_SATISFIABLE = 416,
188 EXPECTATION_FAILED = 417,
192 MISREDIRECT_REQUEST = 421,
194 UNPROCESSABLE_ENTITY = 422,
198 FAILED_DEPENDENCY = 424,
202 UPGRADE_REQUIRED = 426,
204 PRECONDITION_REQUIRED = 428,
206 TOO_MANY_REQUESTS = 429,
208 REQUEST_HEADER_FIELDS_TOO_LARGE = 431,
210 UNAVAILABLE_FOR_LEGAL_REASONS = 451,
215 INTERNAL_SERVER_ERROR = 500,
217 NOT_IMPLEMENTED = 501,
221 SERVICE_UNAVAILABLE = 503,
223 GATEWAY_TIMEOUT = 504,
225 HTTP_VERSION_NOT_SUPPORTED = 505,
227 VARIANT_ALSO_NEGOTIATES = 506,
229 INSUFFICIENT_STORAGE = 507,
235 NETWORK_AUTHENTICATION_REQUIRED = 511
254 static const std::string
ALL;
326 static const std::string
VIA;
390 static const std::string
TE;
401 static const std::string
DNT;
446 static const std::string
AGE;
466 static const std::string
IM;
474 static const std::string
P3P;
490 static const std::string
TK;
509 static const std::string
NEL;
538 extern const std::string EMPTY_VALUE;
541 extern const std::vector<std::string> EMPTY_VEC;
544 extern const std::regex PATH_PATTERN;
AnCH framework base namespace.
Definition app.hpp:28
HTTP verbs.
Definition constants.hpp:39
static const std::string PATCH
Definition constants.hpp:46
static const std::string PROPFIND
Definition constants.hpp:71
static const std::string GET
Definition constants.hpp:42
static const std::string POST
Definition constants.hpp:48
static const std::string MKCOL
Definition constants.hpp:67
static const std::string MOVE
Definition constants.hpp:69
static const std::string TRACE
Definition constants.hpp:54
static const std::string OPTIONS
Definition constants.hpp:52
static const std::string COPY
Definition constants.hpp:63
static const std::string HEAD
Definition constants.hpp:56
static const std::string PROPPATCH
Definition constants.hpp:73
static const std::string CONNECT
Definition constants.hpp:58
static const std::string DELETE
Definition constants.hpp:50
static const std::string PUT
Definition constants.hpp:44
static const std::string UNLOCK
Definition constants.hpp:75
static const std::string LOCK
Definition constants.hpp:65