Traceback (most recent call last):
File "/obj1/wechat/env/local/lib/python2.7/site-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/obj1/wechat/env/local/lib/python2.7/site-packages/flask/app.py", line 1821, in wsgi_app
return response(environ, start_response)
File "/obj1/wechat/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1200, in call
app_iter, status, headers = self.get_wsgi_response(environ)
File "/obj1/wechat/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1188, in get_wsgi_response
headers = self.get_wsgi_headers(environ)
File "/obj1/wechat/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1110, in get_wsgi_headers
current_url = get_current_url(environ, root_only=True)
File "/obj1/wechat/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 70, in get_current_url
tmp = [environ['wsgi.url_scheme'], '://', get_host(environ, trusted_hosts)]
KeyError: 'wsgi.url_scheme'
请问这是什么问题引起的?
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.