using System; using Cpp2IlInjected; namespace System.Net { /// Contains the values of status codes defined for HTTP. // Token: 0x02000222 RID: 546 [Token(Token = "0x2000222")] public enum HttpStatusCode { /// Equivalent to HTTP status 100. indicates that the client can continue with its request. // Token: 0x040007D6 RID: 2006 [Token(Token = "0x40007D6")] Continue = 100, /// Equivalent to HTTP status 101. indicates that the protocol version or protocol is being changed. // Token: 0x040007D7 RID: 2007 [Token(Token = "0x40007D7")] SwitchingProtocols, /// Equivalent to HTTP status 200. indicates that the request succeeded and that the requested information is in the response. This is the most common status code to receive. // Token: 0x040007D8 RID: 2008 [Token(Token = "0x40007D8")] OK = 200, /// Equivalent to HTTP status 201. indicates that the request resulted in a new resource created before the response was sent. // Token: 0x040007D9 RID: 2009 [Token(Token = "0x40007D9")] Created, /// Equivalent to HTTP status 202. indicates that the request has been accepted for further processing. // Token: 0x040007DA RID: 2010 [Token(Token = "0x40007DA")] Accepted, /// Equivalent to HTTP status 203. indicates that the returned metainformation is from a cached copy instead of the origin server and therefore may be incorrect. // Token: 0x040007DB RID: 2011 [Token(Token = "0x40007DB")] NonAuthoritativeInformation, /// Equivalent to HTTP status 204. indicates that the request has been successfully processed and that the response is intentionally blank. // Token: 0x040007DC RID: 2012 [Token(Token = "0x40007DC")] NoContent, /// Equivalent to HTTP status 205. indicates that the client should reset (not reload) the current resource. // Token: 0x040007DD RID: 2013 [Token(Token = "0x40007DD")] ResetContent, /// Equivalent to HTTP status 206. indicates that the response is a partial response as requested by a GET request that includes a byte range. // Token: 0x040007DE RID: 2014 [Token(Token = "0x40007DE")] PartialContent, /// Equivalent to HTTP status 300. indicates that the requested information has multiple representations. The default action is to treat this status as a redirect and follow the contents of the Location header associated with this response. // Token: 0x040007DF RID: 2015 [Token(Token = "0x40007DF")] MultipleChoices = 300, /// Equivalent to HTTP status 300. indicates that the requested information has multiple representations. The default action is to treat this status as a redirect and follow the contents of the Location header associated with this response. // Token: 0x040007E0 RID: 2016 [Token(Token = "0x40007E0")] Ambiguous = 300, /// Equivalent to HTTP status 301. indicates that the requested information has been moved to the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. // Token: 0x040007E1 RID: 2017 [Token(Token = "0x40007E1")] MovedPermanently, /// Equivalent to HTTP status 301. indicates that the requested information has been moved to the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will use the GET method. // Token: 0x040007E2 RID: 2018 [Token(Token = "0x40007E2")] Moved = 301, /// Equivalent to HTTP status 302. indicates that the requested information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will use the GET method. // Token: 0x040007E3 RID: 2019 [Token(Token = "0x40007E3")] Found, /// Equivalent to HTTP status 302. indicates that the requested information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will use the GET method. // Token: 0x040007E4 RID: 2020 [Token(Token = "0x40007E4")] Redirect = 302, /// Equivalent to HTTP status 303. automatically redirects the client to the URI specified in the Location header as the result of a POST. The request to the resource specified by the Location header will be made with a GET. // Token: 0x040007E5 RID: 2021 [Token(Token = "0x40007E5")] SeeOther, /// Equivalent to HTTP status 303. automatically redirects the client to the URI specified in the Location header as the result of a POST. The request to the resource specified by the Location header will be made with a GET. // Token: 0x040007E6 RID: 2022 [Token(Token = "0x40007E6")] RedirectMethod = 303, /// Equivalent to HTTP status 304. indicates that the client's cached copy is up to date. The contents of the resource are not transferred. // Token: 0x040007E7 RID: 2023 [Token(Token = "0x40007E7")] NotModified, /// Equivalent to HTTP status 305. indicates that the request should use the proxy server at the URI specified in the Location header. // Token: 0x040007E8 RID: 2024 [Token(Token = "0x40007E8")] UseProxy, /// Equivalent to HTTP status 306. is a proposed extension to the HTTP/1.1 specification that is not fully specified. // Token: 0x040007E9 RID: 2025 [Token(Token = "0x40007E9")] Unused, /// Equivalent to HTTP status 307. indicates that the request information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will also use the POST method. // Token: 0x040007EA RID: 2026 [Token(Token = "0x40007EA")] TemporaryRedirect, /// Equivalent to HTTP status 307. indicates that the request information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will also use the POST method. // Token: 0x040007EB RID: 2027 [Token(Token = "0x40007EB")] RedirectKeepVerb = 307, /// Equivalent to HTTP status 400. indicates that the request could not be understood by the server. is sent when no other error is applicable, or if the exact error is unknown or does not have its own error code. // Token: 0x040007EC RID: 2028 [Token(Token = "0x40007EC")] BadRequest = 400, /// Equivalent to HTTP status 401. indicates that the requested resource requires authentication. The WWW-Authenticate header contains the details of how to perform the authentication. // Token: 0x040007ED RID: 2029 [Token(Token = "0x40007ED")] Unauthorized, /// Equivalent to HTTP status 402. is reserved for future use. // Token: 0x040007EE RID: 2030 [Token(Token = "0x40007EE")] PaymentRequired, /// Equivalent to HTTP status 403. indicates that the server refuses to fulfill the request. // Token: 0x040007EF RID: 2031 [Token(Token = "0x40007EF")] Forbidden, /// Equivalent to HTTP status 404. indicates that the requested resource does not exist on the server. // Token: 0x040007F0 RID: 2032 [Token(Token = "0x40007F0")] NotFound, /// Equivalent to HTTP status 405. indicates that the request method (POST or GET) is not allowed on the requested resource. // Token: 0x040007F1 RID: 2033 [Token(Token = "0x40007F1")] MethodNotAllowed, /// Equivalent to HTTP status 406. indicates that the client has indicated with Accept headers that it will not accept any of the available representations of the resource. // Token: 0x040007F2 RID: 2034 [Token(Token = "0x40007F2")] NotAcceptable, /// Equivalent to HTTP status 407. indicates that the requested proxy requires authentication. The Proxy-authenticate header contains the details of how to perform the authentication. // Token: 0x040007F3 RID: 2035 [Token(Token = "0x40007F3")] ProxyAuthenticationRequired, /// Equivalent to HTTP status 408. indicates that the client did not send a request within the time the server was expecting the request. // Token: 0x040007F4 RID: 2036 [Token(Token = "0x40007F4")] RequestTimeout, /// Equivalent to HTTP status 409. indicates that the request could not be carried out because of a conflict on the server. // Token: 0x040007F5 RID: 2037 [Token(Token = "0x40007F5")] Conflict, /// Equivalent to HTTP status 410. indicates that the requested resource is no longer available. // Token: 0x040007F6 RID: 2038 [Token(Token = "0x40007F6")] Gone, /// Equivalent to HTTP status 411. indicates that the required Content-length header is missing. // Token: 0x040007F7 RID: 2039 [Token(Token = "0x40007F7")] LengthRequired, /// Equivalent to HTTP status 412. indicates that a condition set for this request failed, and the request cannot be carried out. Conditions are set with conditional request headers like If-Match, If-None-Match, or If-Unmodified-Since. // Token: 0x040007F8 RID: 2040 [Token(Token = "0x40007F8")] PreconditionFailed, /// Equivalent to HTTP status 413. indicates that the request is too large for the server to process. // Token: 0x040007F9 RID: 2041 [Token(Token = "0x40007F9")] RequestEntityTooLarge, /// Equivalent to HTTP status 414. indicates that the URI is too long. // Token: 0x040007FA RID: 2042 [Token(Token = "0x40007FA")] RequestUriTooLong, /// Equivalent to HTTP status 415. indicates that the request is an unsupported type. // Token: 0x040007FB RID: 2043 [Token(Token = "0x40007FB")] UnsupportedMediaType, /// Equivalent to HTTP status 416. indicates that the range of data requested from the resource cannot be returned, either because the beginning of the range is before the beginning of the resource, or the end of the range is after the end of the resource. // Token: 0x040007FC RID: 2044 [Token(Token = "0x40007FC")] RequestedRangeNotSatisfiable, /// Equivalent to HTTP status 417. indicates that an expectation given in an Expect header could not be met by the server. // Token: 0x040007FD RID: 2045 [Token(Token = "0x40007FD")] ExpectationFailed, /// Equivalent to HTTP status 426. indicates that the client should switch to a different protocol such as TLS/1.0. // Token: 0x040007FE RID: 2046 [Token(Token = "0x40007FE")] UpgradeRequired = 426, /// Equivalent to HTTP status 500. indicates that a generic error has occurred on the server. // Token: 0x040007FF RID: 2047 [Token(Token = "0x40007FF")] InternalServerError = 500, /// Equivalent to HTTP status 501. indicates that the server does not support the requested function. // Token: 0x04000800 RID: 2048 [Token(Token = "0x4000800")] NotImplemented, /// Equivalent to HTTP status 502. indicates that an intermediate proxy server received a bad response from another proxy or the origin server. // Token: 0x04000801 RID: 2049 [Token(Token = "0x4000801")] BadGateway, /// Equivalent to HTTP status 503. indicates that the server is temporarily unavailable, usually due to high load or maintenance. // Token: 0x04000802 RID: 2050 [Token(Token = "0x4000802")] ServiceUnavailable, /// Equivalent to HTTP status 504. indicates that an intermediate proxy server timed out while waiting for a response from another proxy or the origin server. // Token: 0x04000803 RID: 2051 [Token(Token = "0x4000803")] GatewayTimeout, /// Equivalent to HTTP status 505. indicates that the requested HTTP version is not supported by the server. // Token: 0x04000804 RID: 2052 [Token(Token = "0x4000804")] HttpVersionNotSupported } }