18.01.2015 Views

Redes de Computadoras

Redes de Computadoras

Redes de Computadoras

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Re<strong>de</strong>s</strong> <strong>de</strong> <strong>Computadoras</strong>, 2007/08<br />

6.4.2. Un mensaje <strong>de</strong> respuesta<br />

HTTP/1.1 200 OK<br />

Cache-control: private<br />

Content-Type: text/html<br />

Content-Encoding: gzip<br />

Server: GWS/2.1<br />

Content-length: 1484<br />

Date: Sat, 14 Feb 2004 10:52:44 GMT<br />

<br />

Significado <strong>de</strong> algunas <strong>de</strong> las ĺıneas:<br />

Los mensajes <strong>de</strong> respuesta siempre tienen 3 secciones: la ĺınea inicial<br />

<strong>de</strong> estados, las lineas <strong>de</strong> cabecera y el cuerpo <strong>de</strong> la entidad.<br />

La ĺınea inicial <strong>de</strong> estados tiene 3 campos: la versión <strong>de</strong>l protocolo, el<br />

código <strong>de</strong> estado y el estado (estas dos cosas significan lo mismo). En<br />

el ejemplo, 200 OK significa que el servidor ha encontrado el objeto<br />

y que lo ha servido (en el ejemplo no se muestra tal cual, se trata <strong>de</strong><br />

6.4 Los mensajes HTTP 95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!