Mailing Lists
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1392 CURLOPT_RANGE can not download 1byte?
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Mon, 07 Jul 2014 22:40:40 +0000
In the case with HTTP, isn't the *RANGE data simply passed on in the request headers? That's how it is supposed to work, and then you get the response back that the server sends and if that truly sends two bytes back when you asked for one, I think it smells like the server is perhaps not sending the proper response ?
--- ** [bugs:#1392] CURLOPT_RANGE can not download 1byte?** **Status:** open **Labels:** range **Created:** Sat Jul 05, 2014 10:09 AM UTC by qokelate **Last Updated:** Sun Jul 06, 2014 02:15 PM UTC **Owner:** Daniel Stenberg how to download 1byte data in curl? (libcurl or curltool) curl_easy_setopt(curl, CURLOPT_RANGE, "0-1"); // download 2bytes curl_easy_setopt(curl, CURLOPT_RANGE, "1-1"); // download nothing curl_easy_setopt(curl, CURLOPT_RANGE, "0-1"); // download nothing option bug? --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2014-07-08 These mail archives are generated by hypermail. |
Page updated March 21, 2014.
web site info