Closed GoogleCodeExporter closed 8 years ago
根据 wsgi 协议 http://www.python.org/dev/peps/pep-0333/#environ-variables SERVER_NAME, SERVER_PORT 是必须且不能为空的 wsgi.version, wsgi.url_scheme, wsgi.errors, wsgi.multithread, wsgi.multiprocess, wsgi.run_once 也都必须提供 所以目前实现的 wsgi 协议是不完整的,web.py 之外的框架可能就会出问题。 比如 Flask 目前就无法使用,调试结果显示 Flask 必须要求 wsgi.url_scheme,在 environ 中添加 'wsgi.url_scheme': 'http' 之后工作正常。
Original issue reported on code.google.com by rapt...@gmail.com on 9 Dec 2011 at 9:08
rapt...@gmail.com
Original comment by hongqn on 13 Dec 2011 at 2:43
hongqn
This issue was closed by revision e19d0e645eba.
Original comment by hongqn on 13 Dec 2011 at 3:05
Original issue reported on code.google.com by
rapt...@gmail.com
on 9 Dec 2011 at 9:08