I am sending input data from a web page via AJAX request to a Flask app. During the time my Flask app processes this data I want to notify a user about what is going on. If it were a console script I would just print()
this messages out, ie:
Parsing file A ...
Parsing file B ...
But how to dynamically push data from Flask to the web browser not causing page reloading and initiate this process from the server side? I believe I cant use json as a response to an AJAX call since this response is done once and I want to pass the notifying messages on their time.