Skip to content

Commit

Permalink
Convert /web/http/status folder to Markdown (es) (#8201)
Browse files Browse the repository at this point in the history
* 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
Graywolf9 committed Sep 20, 2022
1 parent f33283c commit a862491
Show file tree
Hide file tree
Showing 38 changed files with 615 additions and 874 deletions.
45 changes: 0 additions & 45 deletions files/es/web/http/status/100/index.html

This file was deleted.

34 changes: 34 additions & 0 deletions files/es/web/http/status/100/index.md
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)}}
56 changes: 0 additions & 56 deletions files/es/web/http/status/101/index.html

This file was deleted.

41 changes: 41 additions & 0 deletions files/es/web/http/status/101/index.md
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`
54 changes: 0 additions & 54 deletions files/es/web/http/status/200/index.html

This file was deleted.

39 changes: 39 additions & 0 deletions files/es/web/http/status/200/index.md
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)
41 changes: 0 additions & 41 deletions files/es/web/http/status/201/index.html

This file was deleted.

26 changes: 26 additions & 0 deletions files/es/web/http/status/201/index.md
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)
38 changes: 0 additions & 38 deletions files/es/web/http/status/202/index.html

This file was deleted.

Loading

0 comments on commit a862491

Please sign in to comment.