From ab8b53a15e3854b7fbdd3e970062bfc14651dee0 Mon Sep 17 00:00:00 2001 From: Vasily Date: Sat, 20 Jan 2018 21:39:34 +0300 Subject: [PATCH] Added several 4XX and 5XX status codes --- xNet/~Http/HttpStatusCode.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xNet/~Http/HttpStatusCode.cs b/xNet/~Http/HttpStatusCode.cs index cdc1521..679ea3b 100644 --- a/xNet/~Http/HttpStatusCode.cs +++ b/xNet/~Http/HttpStatusCode.cs @@ -51,6 +51,11 @@ public enum HttpStatusCode UnsupportedMediaType = 415, RequestedRangeNotSatisfiable = 416, ExpectationFailed = 417, + UpgradeRequired = 426, + PreconditionRequired = 428, + TooManyRequests = 429, + RequestHeaderFieldsTooLarge = 431, + UnavailableForLegalReasons = 451, InternalServerError = 500, NotImplemented = 501, @@ -58,5 +63,6 @@ public enum HttpStatusCode ServiceUnavailable = 503, GatewayTimeout = 504, HttpVersionNotSupported = 505, + NetworkAuthenticationRequired = 511, } } \ No newline at end of file