cURL / Mailing Lists / curl-users / Single Mail

curl-users

[Bug #132962] ignores --head

From: <noreply_at_sourceforge.net>
Date: Sun, 18 Feb 2001 07:45:54 -0800

Bug #132962, was updated on 2001-Feb-18 07:45
Here is a current snapshot of the bug.

Project: curl and libcurl
Category: http
Status: Open
Resolution: None
Bug Group: bad behaviour
Priority: 5
Submitted by: cynicz
Assigned to : nobody
Summary: ignores --head

Details: <pre>
c:\temp>curl -o "o.txt" --head
http://downloads.mp3.com/AAIAQv94EwBBLQ_GIwGAwARub3JtUAQAAABS6oAAAFEBAAAAUwEAAABUAQAAAEMVwY86eiFJ1hCWTZVwYH0Q3PmZCw--/psycho.mp3
  % Total % Received % Xferd Average Speed Time
Curr.
                                 Dload Upload Total Current Left
Speed
  6 4992k 6 335k 0 0 38058 0 0:02:14 0:00:09 0:02:05
36865^C
c:\temp>
</pre>
i. e. it wad downloading the file until I killed it.
note that wget HEAD's the same URL just fine:
<pre>
c:\temp>wget -S --spider
http://downloads.mp3.com/AAIAQv94EwBBLQ_GIwGAwARub3JtUAQAAABS6oAAAFEBAAAAUwEAAABUAQAAAEMVwY86eiFJ1hCWTZVwYH0Q3PmZCw--/psycho.mp3
--16:35:11--
http://downloads.mp3.com:80/AAIAQv94EwBBLQ_GIwGAwARub3JtUAQAAABS6oAAAFEBAAAAUwEAAABUAQAAAEMVwY86eiFJ1hCWTZVwYH0Q3PmZCw--/psycho.mp3
           => `psycho.mp3'
Connecting to downloads.mp3.com:80... connected!
HTTP request sent, fetching headers...
1 HTTP/1.1 200 OK
2 Date: Sun, 18 Feb 2001 15:29:53 GMT
3 Server: Apache/1.3.12 (Unix) mod_codec/0.50 mod_udplog/0.10
mod_cdl_auth/1.0 include/3.6
4 icy-name: Cynic Guru - Psycho
5 icy-genre: Alternative General
6 icy-url: http://artists.mp3s.com/artists/33/cynic_guru.html
7 Last-Modified: Tue, 06 Feb 2001 10:43:07 GMT
8 Accept-Ranges: bytes
9 Content-Length: 5111818
10 Content-Type: audio/mpeg
11 Age: 5249
12 X-Cache: HIT from sdcdl24.mp3.com
13 X-Cache-Lookup: HIT from sdcdl24.mp3.com:3128
14 Content-Range: bytes 0-5109678/5109679
15 Connection: close
16
200 OK
</pre>

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=132962&group_id=976
Received on 2001-02-18