Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/04/2012, 07:17
yoburtu
 
Fecha de Ingreso: diciembre-2011
Mensajes: 3
Antigüedad: 12 años, 4 meses
Puntos: 0
No recibir cabeceras HTTP

Hola,

me gustaría saber si hay alguna manera de decirle a un servidor web que no queremos recibir cabeceras HTTP. Quiero reducir la cantidad de datos transmitidos y recibidos.

Por ejemplo en esta petición a una web www.laquesea.com:

$ telnet www.laquesea.com 80
Trying 9.9.9.9...
Connected to www.laquesea.com
Escape character is '^]'.
get index.html HTTP/1.0

Date: Tue, 10 Apr 2012 13:05:52 GMT
Server: Apache
Content-Length: 326
Connection: close
Content-Type: text/html; charset=iso-8859-1
Set-Cookie: BIGipServerFARM_EGICA5y6_80=rd2o000000000000000000 00ffffac101ebeo80; path=/

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
...
...
etc...
...

Sería, después de hacer el GET, empezar a recibir a partir de "<!DOCTYPE...", es decir, solo los datos y que no se reciban las cabeceras anteriores, Date:, Server:, Content-Length:, etc.

Un saludo.