应用程序示例

来源:互联网 发布:监测游戏帧数软件 编辑:程序博客网 时间:2024/06/04 18:46
import timedef 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()]

原创粉丝点击