cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: The --range option doesn't take effect for my case.

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Mon, 30 Mar 2015 17:26:11 +0200

On Monday 30 March 2015 22:59:28 Hongyi Zhao wrote:
> As you can see, though I use the ` --range 0-499' option, curl still will
> download all of the contents of that webpage.
>
> Why does this happen? Any hints?
>
> Regards

I believe you can find a hint in the curl.1 man page:

    "You should also be aware that many HTTP/1.1 servers do not have this
    feature enabled, so that when you attempt to get a range, you'll instead
    get the whole document."

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-30