Created
October 1, 2019 02:53
-
-
Save athulmurali/1058dce3463390eb4d1d055e6605bc35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Practise: | |
1. Create a js based html with button | |
2. Click button to call flask api | |
3. Flask api sends response as stream | |
4. Request gets closed | |
-- Flask : | |
1. Use a sample stream | |
2. Develop an api that returns a stream to download | |
Send response as stream in python | |
https://stackoverflow.com/questions/24318084/flask-make-response-with-large-files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment