cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with HEAD (-I)

From: Christian Joergensen <christian_at_gmta.info>
Date: Sun, 14 Mar 2004 23:39:39 +0100

On Sun, 2004-03-14 at 23:31, Daniel Stenberg wrote:

[curl problem with HEAD request to www.deftones.com]

> > Even after 10 minutes there is still no response. Can anybody shed some
> > light on this, please? :-)
>
> The server accepts the connect and never responds to the HEAD. It looks like
> the server is not responding correctly to HEAD requests.

The "funny" thing is that when I try to do the request manually using
telnet (fx.), it works just fine:

        $ telnet www.deftones.com 80
        Trying 64.236.242.245...
        Connected to h-64-236-242-245.wmg.com.
        Escape character is '^]'.
        HEAD / HTTP/1.1
        User-Agent: curl/7.11.0 (i386-pc-linux-gnu) libcurl/7.11.0 OpenSSL/0.9.7c ipv6 zlib/1.2.1
        Host: www.deftones.com
        Pragma: no-cache
        Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
        
        HTTP/1.1 200 OK
        Server: Microsoft-IIS/5.0
        P3P: PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA PRE CURa ADMa DEVa TAIo PSAo PS Do IVAa IVDa CONo TELo OTPi OUR UNRo PUBi OTRo IND DSP CAO COR
        X-Powered-By: ASP.NET
        Content-Location: http://www.deftones.com/index.html
        Date: Sun, 14 Mar 2004 22:38:09 GMT
        Content-Type: text/html
        Accept-Ranges: bytes
        Last-Modified: Tue, 18 Nov 2003 18:54:28 GMT
        ETag: "d0da7d645aec31:e54"
        Content-Length: 10464

-- 
Christian Jørgensen, CTO
GMTA ApS - Edvard Falcks Gade 1 - DK-1569 Koebenhavn V - Denmark
Phone: +45 70231337 - Fax: +45 70271337 - http://www.gmta.info
Received on 2004-03-14