001-wsgi找源码--Flask执行本质
溯源
from werkzeug.serving import run_simple from flask import Response def func(environ, start_response): print('请求来了') response = Response('你好') return response(environ, start_response) if __name__ == '__main__': run_simple('localhost', 5000, func)

浙公网安备 33010602011771号