• Lucas Carvalho's avatar
    The download method must return a file descriptor. · 27cdcb1c
    Lucas Carvalho authored
    It should return the file descriptor instead of file content as string.
    
    This implementation does not consume RAM Memory, so it is safer to
    download big files.
    
    When you call file_descriptor.close, it will remove the file from tmp
    folder automatically.
    27cdcb1c
libnetworkcache.py 5.69 KB