curl-users
Problem with HEAD (-I)
Date: Sun, 14 Mar 2004 21:51:01 +0100
Hello
I've run into a very weird problem with curl. I'm trying to do a HEAD
query using the '-I' switch:
[razor_at_euclid:~]> $ curl --version
curl 7.11.0 (i386-pc-linux-gnu) libcurl/7.11.0 OpenSSL/0.9.7c ipv6 zlib/1.2.1
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 SSL libz NTLM
I run this command to retrieve the headers:
[razor@euclid:~]> $ curl -I --connect-timeout 5 -v --trace-ascii trace.txt http://www.deftones.com
Now the program hangs. There is no output or what so ever. This is the
contents of trace.txt:
[razor_at_euclid:~]> $ cat trace.txt
== Info: About to connect() to www.deftones.com port 80
== Info: Connected to h-64-236-242-245.wmg.com (64.236.242.245) port 80
=> Send header, 218 bytes (0xda)
0000: HEAD / HTTP/1.1
0011: User-Agent: curl/7.11.0 (i386-pc-linux-gnu) libcurl/7.11.0 OpenS
0051: SL/0.9.7c ipv6 zlib/1.2.1
006c: Host: www.deftones.com
0084: Pragma: no-cache
0096: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
00d8:
Even after 10 minutes there is still no response. Can anybody shed some
light on this, please? :-)
Regards,
Christian
PS: Please CC me in all replies as I'm not on the list :-)
-- Christian Jørgensen, CTO GMTA ApS - Edvard Falcks Gade 1 - DK-1569 Koebenhavn V - Denmark Phone: +45 70231337 - Fax: +45 70271337 - http://www.gmta.infoReceived on 2004-03-14