flask的上下文管理源码解读
摘要:这样就能启动一个flask项目了,那么app.run()做了什么呢? 简单的来说就是这个方法调用了run_simple()方法,make_server()又反回了一个单线程单进程的WSGI server;客户端发送请求时WSGI server会调用Flask的__call__方法,__call__再
阅读全文
posted @ 2018-10-09 17:28
posted @ 2018-10-09 17:28