Byte Ranges

CURLOPT_RESUME_ FROM can be used to set a single point within the document from which to start the response body. This will cause the Range header to be set with a value of X- where X is the specified starting point.

In order to specify multiple ranges, CURLOPT_RANGE accepts a string in the same format as the Range header (ex: X-Y, Z-).


© cURL Extension — Web Scraping

>>> Back to TABLE OF CONTENTS <<<
Category: Article | Added by: Marsipan (30.08.2014)
Views: 378 | Rating: 0.0/0
Total comments: 0
avatar