应用程序示例

版权声明:本文为小盒子原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35393693/article/details/84945306
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()]

猜你喜欢

转载自blog.csdn.net/qq_35393693/article/details/84945306