def _download_file(url, local_filename):
    response = requests.get(url, stream=True)
    with open(local_filename, 'wb') as outfile:
        for chunk in response.iter_content(chunk_size=1024):
            if chunk: # filter out keep-alive new chunks
                outfile.write(chunk)
Dumps a dictionary into a nested query string.
dataset/ETHPy150Open xmunoz/sodapy/sodapy/__init__.py/_download_file--crossover with--dataset/ETHPy150Open recurly/recurly-client-python/recurly/js.py/to_query