ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
StatusCode.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ILIAS\HTTP;
4 
13 interface StatusCode
14 {
15 
16  // [Informational 1xx]
17 
18  const HTTP_CONTINUE = 100;
20  // [Successful 2xx]
21 
22  const HTTP_OK = 200;
23  const HTTP_CREATED = 201;
24  const HTTP_ACCEPTED = 202;
26  const HTTP_NO_CONTENT = 204;
27  const HTTP_RESET_CONTENT = 205;
28  const HTTP_PARTIAL_CONTENT = 206;
29  // [Redirection 3xx]
30 
31  const HTTP_MULTIPLE_CHOICES = 300;
33  const HTTP_FOUND = 302;
34  const HTTP_SEE_OTHER = 303;
35  const HTTP_NOT_MODIFIED = 304;
36  const HTTP_USE_PROXY = 305;
37  const HTTP_UNUSED = 306;
39  // [Client Error 4xx]
40 
41  const HTTP_BAD_REQUEST = 400;
42  const HTTP_UNAUTHORIZED = 401;
43  const HTTP_PAYMENT_REQUIRED = 402;
44  const HTTP_FORBIDDEN = 403;
45  const HTTP_NOT_FOUND = 404;
47  const HTTP_NOT_ACCEPTABLE = 406;
49  const HTTP_REQUEST_TIMEOUT = 408;
50  const HTTP_CONFLICT = 409;
51  const HTTP_GONE = 410;
52  const HTTP_LENGTH_REQUIRED = 411;
59  // [Server Error 5xx]
60 
62  const HTTP_NOT_IMPLEMENTED = 501;
63  const HTTP_BAD_GATEWAY = 502;
65  const HTTP_GATEWAY_TIMEOUT = 504;
67 }
const HTTP_REQUEST_ENTITY_TOO_LARGE
Definition: StatusCode.php:54
const HTTP_INTERNAL_SERVER_ERROR
Definition: StatusCode.php:61
const HTTP_UNSUPPORTED_MEDIA_TYPE
Definition: StatusCode.php:56
const HTTP_VERSION_NOT_SUPPORTED
Definition: StatusCode.php:66
const HTTP_PROXY_AUTHENTICATION_REQUIRED
Definition: StatusCode.php:48
const HTTP_SERVICE_UNAVAILABLE
Definition: StatusCode.php:64
const HTTP_NONAUTHORITATIVE_INFORMATION
Definition: StatusCode.php:25
const HTTP_REQUESTED_RANGE_NOT_SATISFIABLE
Definition: StatusCode.php:57
const HTTP_REQUEST_URI_TOO_LONG
Definition: StatusCode.php:55
const HTTP_PRECONDITION_FAILED
Definition: StatusCode.php:53
const HTTP_SWITCHING_PROTOCOLS
Definition: StatusCode.php:19