The download method must return a file descriptor.
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.
Showing with 5 additions and 3 deletions