El nuevo protocolo HTTP/2 en programación web

De Manuais Informática - IES San Clemente.
Ir a la navegación Ir a la búsqueda

Introducción a HTTP/1.1

( En preparación.. )

Ejemplo de conexión a un servidor web usando TELNET:

telnet www.rediris.es 80
GET /index.php HTTP/1.1
host: www.rediris.es
# Pulsar ENTER y se mostrará la respuesta del servidor junto al código HTML de la página

HTTP/1.1 200 OK
Date: Wed, 18 Mar 2015 09:47:30 GMT
Server: Apache/2.2.3 (Red Hat)
Content-Location: index.php.en
Vary: negotiate,accept-language
TCN: choice
X-Powered-By: PHP/5.3.27
Set-Cookie: language=en; path=/; domain=rediris.es
Cache-Control: no-cache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
Content-Language: en

23b2
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">

<head>
  <link rel='shortcut icon' href='/iconos/rediris16x16.gif' />
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>RedIRIS - Welcome to RedIRIS</title>
  
  <link href="/template/w4/w4l2/css/w4l1_index.css" type="text/css" rel="stylesheet">
  <!--<link href="/template/w4/w4l1/css/bnr.css" type="text/css" rel="stylesheet">-->

.......

</div> <!-- page -->
</div> <!-- all -->
<ul><li id='preproduction_ribbon'></li></ul>
</body>
</html>

Connection closed by foreign host.

Introducción a HTTP/2

Limitaciones por dominio en HTTP/2

Concatenación con HTTP/2

Uso de HTTPS/TLS con HTTP/2

Compresión de datos con HTTP/2

Server-Side PUSH con HTTP/2

Prioridades en HTTP/2

Métodos HTTP y códigos de Estado en HTTP/2

Uso de sistemas caché con HTTP/2

--Veiga (discusión) 10:52 18 mar 2015 (CET)