cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_RANGE without any response

From: Gabriel <long860812_at_gmail.com>
Date: Mon, 09 Jan 2012 11:52:29 +0800

Hi:
http://curl.haxx.se/libcurl/c/ftpget.html
I used to try compile this file , with added one command
"curl_easy_setopt(curl,CURLOPT_RANGE,"0-800");" and I did receive the
http response as "Content-Length: 801/704664". But today I trid to
compile this file again, there is only :
* About to connect() to www.baidu.com port 80 (#0)
* Trying 61.135.169.105... * connected
* Connected to www.baidu.com (61.135.169.105) port 80 (#0)
> GET /img/baidu.gif HTTP/1.1
Range: bytes=0-8000000
Host: www.baidu.com
Accept: */*

and doesn't have any response. So I want to ask why this thing happens ??
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-09