wsgi简介,flask和scrapy的简单使用

WSGI接口定义很是简单,它只要求Web开发者实现一个函数,就能够响应HTTP请求。html def application(environ, start_response): start_response('200 OK', [('Content-Type', 'text/html')]) return [b'<h1>Hello, web!</h1>'] environ:HTTP
相关文章
相关标签/搜索