title: Stop requesting url with cURL when using ranges
body: <p>For example, if I am requesting this url:</p>
  
  <pre><code>curl http://www.example.com/index.html?page=[1-100]
  </code></pre>
  
  <p>Imagine that only the range [1-3] exists in the query page. Why can't the cURL stop requesting urls when it arrives to number 4?</p>
  
  <p>What I want is cURL to stop when it starts to request the page number 5 (since page 4 would return 404 code)</p>