wsgiref make_server 报错AssertionError: write() argument must be a bytes instance
fromwsgiref.simple_serverimportmake_serverdefapplication(env,start_response):response_body=["%s:%s"%(key,value)forkey,value\insorted(env.items())]response_body='\n'.join(response_body)status="200ok"re