import time
def app(environ, start_response):
status = '200 OK'
response_headers = [('Content-Type', 'text/plain')]
start_response(status, response_headers)
return [str(environ)+'==Hello world from a simple WSGI application!--->%s\n'%time.ctime()]
应用程序示例
最新推荐文章于 2022-12-21 20:55:49 发布