code: def http_get(url, fout=None):
      
      print('requests.get({URL}, stream=True)'.format(URL=url))
      rsp = requests.get(url, stream=True)
      if rsp.status_code == 200 and fout is not None:
          with open(fout, 'wb') as prt:
              for chunk in rsp:  # .iter_content(chunk_size=128):
                  prt.write(chunk)
              print('  WROTE: {F}\n'.format(F=fout))
      else:
          print(rsp.status_code, rsp.reason, url)
          print(rsp.content)
      return rsp
docs: Download a file from http. Save it in a file named by fout