-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert /web/http/status folder to Markdown (es) (#8201)
* Convert /web/http/status folder to Markdown (es) * Apply suggestions from code review Original PR by: Queen Vinyl Da.i'gyu-Kazotetsu <[email protected]>
- Loading branch information
Showing
38 changed files
with
615 additions
and
874 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: 100 Continue | ||
slug: Web/HTTP/Status/100 | ||
tags: | ||
- Códigos de estado | ||
- HTTP | ||
- Informativa | ||
- continue | ||
translation_of: Web/HTTP/Status/100 | ||
--- | ||
{{HTTPSidebar}} | ||
|
||
El código de respuesta de estado informativo **`100 Continue`** indica que todo hasta ahora está bien y que el cliente debe continuar con la solicitud o ignorarlo si ya está terminado. | ||
|
||
Para que un servidor verifique los encabezados de la solicitud, un cliente debe enviar {{HTTPHeader("Expect")}}`: 100-continue` como encabezado en su solicitud inicial y recibe un código de estado `100 Continue` en respuesta antes de enviar el cuerpo. | ||
|
||
## Estado | ||
|
||
100 Continue | ||
|
||
## Especificaciones | ||
|
||
| Especificación | Título | | ||
| -------------------------------------------------------- | ------------------------------------------------------------- | | ||
| {{RFC("7231", "100 Continue" , "6.2.1")}} | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content | | ||
|
||
## Compatibilidad de navegadores | ||
|
||
{{Compat("http.status.100")}} | ||
|
||
## Ver también | ||
|
||
- {{HTTPHeader("Expect")}} | ||
- {{HTTPStatus(417)}} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: 101 Switching Protocols | ||
slug: Web/HTTP/Status/101 | ||
tags: | ||
- Códigos de estado | ||
- Estados | ||
- HTTP | ||
- HTTP Status Code | ||
- Información | ||
- Referencia | ||
- WebSockets | ||
translation_of: Web/HTTP/Status/101 | ||
--- | ||
{{HTTPSidebar}}El código de respuesta **`101 Switching Protocols `**que el servidor está cambiando de protocolo al solicitado por un cliente que mandó un mensaje incluyendo la cabecera {{HTTPHeader("Upgrade")}}. | ||
|
||
El servidor incluye en esta respuesta una cabecera {{HTTPHeader("Upgrade")}} para indicar a qué protocolo ha cambiado. El proceso se describe en detalle en el artículo[ Protocol upgrade mechanism](/es/docs/Web/HTTP/Protocol_upgrade_mechanism). | ||
|
||
## Estado | ||
|
||
101 Switching Protocols | ||
|
||
## Ejemplos | ||
|
||
El cambio de protocolos se podría usar con [WebSockets](/es/docs/Web/API/WebSockets_API). | ||
|
||
HTTP/1.1 101 Switching Protocols | ||
Upgrade: websocket | ||
Connection: Upgrade | ||
|
||
## Especificaciones | ||
|
||
| Specification | Title | | ||
| -------------------------------------------------------------------- | ------------------------------------------------------------- | | ||
| {{RFC("7231", "101 Switching Protocol" , "6.2.2")}} | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content | | ||
|
||
## Vea también | ||
|
||
- [Protocol upgrade mechanism](/es/docs/Web/HTTP/Protocol_upgrade_mechanism) | ||
- [WebSockets](/es/docs/Web/API/WebSockets_API) | ||
- {{HTTPHeader("Upgrade")}} | ||
- {{HTTPStatus("426")}} `Upgrade Required` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: 200 OK | ||
slug: Web/HTTP/Status/200 | ||
tags: | ||
- Codigo de Estado | ||
- HTTP | ||
- Éxito | ||
translation_of: Web/HTTP/Status/200 | ||
--- | ||
{{HTTPSidebar}} | ||
|
||
El código de respuesta de estado satisfactorio HTTP **`200 OK`** indica que la solicitud ha tenido éxito. Una respuesta 200 es almacenable de forma predeterminada. | ||
|
||
El significado de un éxito depende del método de solicitud HTTP: | ||
|
||
- {{HTTPMethod("GET")}}: El recurso ha sido recuperado y se transmite el mensaje al body. | ||
- {{HTTPMethod("HEAD")}}: Los encabezados de entidad estan en el body del mensaje. | ||
- {{HTTPMethod("POST")}}: El recurso que describe el resultado de la acción se transmite en el body del mensaje. | ||
- {{HTTPMethod("TRACE")}}: El body del mensaje contiene el mensaje de solicitud tal como lo recibió el servidor. | ||
|
||
El resultado exitoso de un método {{HTTPMethod("PUT")}} o uno {{HTTPMethod("DELETE")}} no es a menudo un `200` `OK` sino un {{HTTPStatus("204")}} `No Content` (o un {{HTTPStatus("201")}} `Created` cuando el recurso es subido por primera vez). | ||
|
||
## Estado | ||
|
||
200 OK | ||
|
||
## Especificaciones | ||
|
||
| Especificaciones | Titulo | | ||
| ------------------------------------------------ | ------------------------------------------------------------- | | ||
| {{RFC("7231", "200 OK" , "6.3.1")}} | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content | | ||
|
||
## Compatibilidad del navegador | ||
|
||
{{Compat("http.status.200")}} | ||
|
||
## Ver también | ||
|
||
- [HTTP request methods](/es/docs/Web/HTTP/Methods) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: 201 Created | ||
slug: Web/HTTP/Status/201 | ||
translation_of: Web/HTTP/Status/201 | ||
--- | ||
El código de respuesta de estado de éxito creado HTTP **`201 Created`** indica que la solicitud ha tenido éxito y ha llevado a la creación de un recurso. El nuevo recurso se crea efectivamente antes de enviar esta respuesta. y el nuevo recurso se devuelve en el cuerpo del mensaje, su ubicación es la URL de la solicitud o el contenido del encabezado de la Ubicacion | ||
|
||
El caso de uso común de este código de estado es el resultado de una solicitud metodo POST | ||
|
||
## Status | ||
|
||
201 Created | ||
|
||
## Especificaciones | ||
|
||
| Especificacion | Titulo | | ||
| ---------------------------------------------------- | ---------------------------------------------------------------------------- | | ||
| {{RFC("7231", "201 Created" , "6.3.2")}} | Protocolo de transferencia de hipertexto (HTTP / 1.1): Semántica y contenido | | ||
|
||
## Compatibilidad entre navegadores | ||
|
||
{{Compat("http.status.201")}} | ||
|
||
## Ver también | ||
|
||
- [HTTP request methods](/es/docs/Web/HTTP/Methods) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.