摘要: 一:session源码开始 1,创建起始连接 2,开始请求app.__call__ 3,执行wsgi_app方法 def wsgi_app(self, environ, start_response): ctx = self.request_context(environ) ctx.push() e 阅读全文
posted @ 2018-01-10 18:16 forjie 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 请求开始 def wsgi_app(self, environ, start_response): ctx = self.request_context(environ) ctx.push() error = None try: try: response = self.full_dispatch_ 阅读全文
posted @ 2018-01-10 17:42 forjie 阅读(148) 评论(0) 推荐(0) 编辑