title: Ideal Chunk Size for python requests
body: <p>Is there any guideline on selecting chunk size?</p>
  
  <p>I tried different chunk size but none of them give download speed comparable to browser or wget download speed</p>
  
  <p>here is snapshot of my code</p>
  
  <pre><code> r = requests.get(url, headers = headers,stream=True)
   total_length = int(r.headers.get('content-length'))
   if not total_length is None: # no content length header
   for chunk in r.iter_content(1024):
       f.write(chunk)
  </code></pre>
  
  <p>Any help would be appreciated.?</p>
  
  <p>Edit: I tried network with different speed.. And I am able to achieve higher speed than my home network.. But when I tested wget and browser.. Speed is still not comparable</p>
  
  <p>Thanks</p>