Hello,

I have searched a lot and also tried to forge this up but I could not
locate or create functionality to download a file from the server; not
stream, just normal download.

response.download requires a database field and response.stream
streams a file, it doesn't simple download it.
(I might be confusing the difference between streaming and downloading).
I tried to set chunk size in stream function more than size of file in
an attempt to make it equal to download but it is not working. I am
comparing it to a file hosted by SimpleHTTPServer of CPython. Any idea
how can I do it? Is it about headers?

Hasanat Kazmi
+923464362473

Reply via email to