#include <hallo.h>
* Daniel Stenberg [Sun, Jun 22 2008, 08:41:23PM]:
> On Sun, 22 Jun 2008, Eduard Bloch wrote:
>
>> this is an upstream issue: specify a custom range with "-r 1-2" or so 
>> and watch the generated header with Wireshark.
>
> No need for wireshark, curl can show its own headers. And they disagree 
> with your report:

Indeed. But now, please also add --head parameter and you will see...

curl -v --head -r 500-555 
http://ftp.at.debian.org/debian/pool/main/g/glibc/glibc_2.7.orig.tar.gz | wc -c
* About to connect() to ftp.at.debian.org port 80 (#0)
*   Trying 213.129.232.18... connected
* Connected to ftp.at.debian.org (213.129.232.18) port 80 (#0)
> HEAD /debian/pool/main/g/glibc/glibc_2.7.orig.tar.gz HTTP/1.1
> Content-Range: bytes 500-555/-1
> User-Agent: curl/7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.1 OpenSSL/0.9.8g 
> zlib/1.2.3.3 c-ares/1.5.2 libidn/1.8 libssh2/0.18
> Host: ftp.at.debian.org
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Sun, 22 Jun 2008 18:47:55 GMT
< Server: Apache/2.2.3 (Debian)
< Last-Modified: Sat, 27 Oct 2007 03:17:02 GMT
< ETag: "54680b0-eac87e-e6a44780"
< Accept-Ranges: bytes
< Content-Length: 15386750
< Content-Type: application/x-gzip
< 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 14.6M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* 
Connection #0 to host ftp.at.debian.org left intact

* Closing connection #0
248

Eduard.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to