D
D
Drottarutarnum2020-11-08 15:23:35
Flask
Drottarutarnum, 2020-11-08 15:23:35

How to incrementally serve a file with flask?

The fact is that the file is formed on the fly from the data from the database, and there is a lot of data.
Now the file is formed in RAM and then given to the user, but when there is more RAM, there is simply not enough

How can I give the user a file in portions? Let's say 10 megabytes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2020-11-08
@Drottarutarnum

https://flask.palletsprojects.com/en/1.1.x/pattern...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question