Answer the question
In order to leave comments, you need to log in
How does flask code handle requests?
I compiled an example for the heroku server on flask, python, which, when you click on the link in the browser, shows the line 'hello world'.
from flask import Flask
Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
Answer the question
In order to leave comments, you need to log in
flask is a synchronous framework, so all requests are processed in turn, there can be several queues
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question