curl-library
Unable to retrieve some document header
From: Yanick Pelletier <ypelletier_at_copernic.com>
Date: Fri, 12 Oct 2001 12:00:09 -0400
Date: Fri, 12 Oct 2001 12:00:09 -0400
I'm trying to retrieve the header for a web page without downloading the
document body, so i set the option CGLOPT_NOBODY.
I correctly recieve the header when i pass a direct URL (ex:
http://www.microsoft.com <http://www.microsoft.com/> ) but when a gives an
URL that is redirected (like http://www.yahoo.com/r/fi
<http://www.yahoo.com/r/fi> ) i don't recieve any header at all until i
download the body of the document.
Does any buddy know a work around this problem since i relly don't want to
download the body of the document only to retrieve its header!
Thanks!
Yanick Pelletier
ypelletier_at_copernic.com
Received on 2001-10-12