# WSGI服务器调用 def application(environ,start_response): start_response('200 OK',[('Content-Type','text/html')]) return 'Hello World' ''' environ: 包含HTTP请求信息的dict对象 start_response: 发送HTTP响应的函数 '''
2020-05-07