Referencia de códigos de estado HTTP
Una referencia completa y buscable de los códigos de estado HTTP con su significado en lenguaje sencillo y cuándo se usa cada uno. Filtra por código o palabra clave, y comprueba la categoría de cualquier número de estado al instante.
The codes are best understood alongside the HTTP Header Checker, which shows them in a live response, and the Htaccess Redirect Generator, which sets them. To find the URLs currently returning errors, the Broken Link Checker List is the tool.
Cómo usar Códigos HTTP
- 1 Browse by class, or search for a code.
- 2 Read the plain-English meaning and when the code is appropriate to return.
- 3 Check the section on which codes are safe to retry, which matters when building a client.
- 4 Note the codes that have been deprecated or repurposed.
Cómo usarlo
Escribe un código, una frase como "not found", o elige una categoría. La tabla filtra en vivo. También puedes introducir cualquier número para ver a qué clase (1xx a 5xx) pertenece.
- Todos los códigos de estado estándar de 1xx a 5xx
- Búsqueda por número o significado
- Filtro por categoría de respuesta
- Descripciones en lenguaje sencillo
- Se ejecuta enteramente en tu navegador
Las cinco clases
Las respuestas 1xx son informativas, las 2xx significan éxito, las 3xx son redirecciones, las 4xx son errores del cliente y las 5xx son errores del servidor. Conocer la clase te dice si el problema está en el cliente o en el servidor.
Preguntas frecuentes
What do the five classes mean?
The first digit indicates the class. One is informational, two is success, three is a redirect, four is a client error and five is a server error. That structure is the useful part — a client can decide how to respond by class without knowing the specific code.
Which codes are safe to retry automatically?
Only those where the request did not take effect, or had no side effect. The method matters as much as the code: a GET is idempotent and safe to repeat, whereas a POST that created a resource is not. For a server error after a POST, retrying risks creating a duplicate unless the API supports an idempotency key.
What is the difference between 401 and 403?
401 means the request has no valid authentication, so the client should authenticate and try again. 403 means the request is authenticated but not permitted, so retrying with the same credentials will not help. Returning 401 for a permission problem causes clients to loop, re-authenticating repeatedly against something no credential can fix.
Herramientas para desarrolladores relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Códigos HTTP: