Browse Source

nuevo codigos http status

main
jirho 2 years ago
parent
commit
9f8c242eeb
  1. 7
      app/Constants/HttpStatus.php

7
app/Constants/HttpStatus.php

@ -6,15 +6,20 @@ class HttpStatus
{
const OK = 200;
const CREATED = 201;
const NO_CONTENT = 204;
const BAD_REQUEST = 400;
const UNAUTHORIZED = 401;
const FORBIDDEN = 403;
const NOT_FOUND = 404;
const INTERNAL_SERVER_ERROR = 500;
const NOT_IMPLEMENTED = 501;
const SERVICE_UNAVAILABLE = 503;
const GATEWAY_TIMEOUT = 504;
const NOT_IMPLEMENTED = 501;
const HTTP_VERSION_NOT_SUPPORTED = 505;
const NETWORK_AUTHENTICATION_REQUIRED = 511;
const PREDETERMINADA = 404;
}

Loading…
Cancel
Save