|
5 | 5 | /** @codeCoverageIgnore */
|
6 | 6 | class HttpStatusName
|
7 | 7 | {
|
8 |
| - const OK = "OK"; |
9 |
| - const CREATED = "Created"; |
10 |
| - const ACCEPTED = "Accepted"; |
11 |
| - const NO_CONTENT = "No Content"; |
12 |
| - const MULTIPLE_CHOICES = "Multiple Choices"; |
13 |
| - const MOVED_PERMANENTLY = "Moved Permanently"; |
14 |
| - const FOUND = "Found"; |
15 |
| - const PERMANENT_REDIRECT = "Permanent Redirect"; |
16 |
| - const TEMPORARY_REDIRECT = "Temporary Redirect"; |
17 |
| - const SEE_OTHER = "See Other"; |
18 |
| - const NOT_MODIFIED = "Not Modified"; |
19 |
| - const BAD_REQUEST = "Bad Request"; |
20 |
| - const UNAUTHORIZED = "Unauthorized"; |
21 |
| - const PAYMENT_REQUIRED = "Payment Required"; |
22 |
| - const NOT_LICENSED = "Not Licensed"; |
23 |
| - const FORBIDDEN = "Forbidden"; |
24 |
| - const NOT_FOUND = "Not Found"; |
25 |
| - const METHOD_NOT_ALLOWED = "Method Not Allowed"; |
26 |
| - const NOT_ACCEPTABLE = "Not Acceptable"; |
27 |
| - const REQUEST_TIMEOUT = "Request Timeout"; |
28 |
| - const CONFLICT = "Conflict"; |
29 |
| - const GONE = "Gone"; |
30 |
| - const PRECONDITION_FAILED = "Precondition Failed"; |
31 |
| - const PAYLOAD_TOO_LARGE = "Payload Too Large"; |
32 |
| - const UNSUPPORTED_MEDIA_TYPE = "Unsupported Media Type"; |
33 |
| - const PRECONDITION_REQUIRED = "Precondition Required"; |
34 |
| - const TOO_MANY_REQUESTS = "Too Many Requests"; |
35 |
| - const UNAVAILABLE_FOR_LEGAL_REASONS = "Unavailable for Legal Reasons"; |
36 |
| - const INTERNAL_SERVER_ERROR = "Internal Server Error"; |
37 |
| - const NOT_IMPLEMENTED = "Not Implemented"; |
38 |
| - const BAD_GATEWAY = "Bad Gateway"; |
39 |
| - const SERVICE_UNAVAILABLE = "Service Unavailable"; |
40 |
| - const GATEWAY_TIMEOUT = "Gateway Timeout"; |
41 |
| - const INSUFFICIENT_STORAGE = "Insufficient Storage"; |
42 |
| - const NETWORK_AUTHENTICATION_REQUIRED = "Network Authentication Required"; |
| 8 | + public const string OK = "OK"; |
| 9 | + public const string CREATED = "Created"; |
| 10 | + public const string ACCEPTED = "Accepted"; |
| 11 | + public const string NO_CONTENT = "No Content"; |
| 12 | + public const string MULTIPLE_CHOICES = "Multiple Choices"; |
| 13 | + public const string MOVED_PERMANENTLY = "Moved Permanently"; |
| 14 | + public const string FOUND = "Found"; |
| 15 | + public const string PERMANENT_REDIRECT = "Permanent Redirect"; |
| 16 | + public const string TEMPORARY_REDIRECT = "Temporary Redirect"; |
| 17 | + public const string SEE_OTHER = "See Other"; |
| 18 | + public const string NOT_MODIFIED = "Not Modified"; |
| 19 | + public const string BAD_REQUEST = "Bad Request"; |
| 20 | + public const string UNAUTHORIZED = "Unauthorized"; |
| 21 | + public const string PAYMENT_REQUIRED = "Payment Required"; |
| 22 | + public const string NOT_LICENSED = "Not Licensed"; |
| 23 | + public const string FORBIDDEN = "Forbidden"; |
| 24 | + public const string NOT_FOUND = "Not Found"; |
| 25 | + public const string METHOD_NOT_ALLOWED = "Method Not Allowed"; |
| 26 | + public const string NOT_ACCEPTABLE = "Not Acceptable"; |
| 27 | + public const string REQUEST_TIMEOUT = "Request Timeout"; |
| 28 | + public const string CONFLICT = "Conflict"; |
| 29 | + public const string GONE = "Gone"; |
| 30 | + public const string PRECONDITION_FAILED = "Precondition Failed"; |
| 31 | + public const string PAYLOAD_TOO_LARGE = "Payload Too Large"; |
| 32 | + public const string UNSUPPORTED_MEDIA_TYPE = "Unsupported Media Type"; |
| 33 | + public const string UNPROCESSABLE_CONTENT = "Unprocessable Content"; |
| 34 | + public const string PRECONDITION_REQUIRED = "Precondition Required"; |
| 35 | + public const string TOO_MANY_REQUESTS = "Too Many Requests"; |
| 36 | + public const string UNAVAILABLE_FOR_LEGAL_REASONS = "Unavailable for Legal Reasons"; |
| 37 | + public const string INTERNAL_SERVER_ERROR = "Internal Server Error"; |
| 38 | + public const string NOT_IMPLEMENTED = "Not Implemented"; |
| 39 | + public const string BAD_GATEWAY = "Bad Gateway"; |
| 40 | + public const string SERVICE_UNAVAILABLE = "Service Unavailable"; |
| 41 | + public const string GATEWAY_TIMEOUT = "Gateway Timeout"; |
| 42 | + public const string INSUFFICIENT_STORAGE = "Insufficient Storage"; |
| 43 | + public const string NETWORK_AUTHENTICATION_REQUIRED = "Network Authentication Required"; |
43 | 44 | }
|
0 commit comments