wsgi.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:bilean 作者: openstack 项目源码 文件源码
def start(self, application, default_port):
        """Run a WSGI server with the given application.

        :param application: The application to run in the WSGI server
        :param conf: a cfg.ConfigOpts object
        :param default_port: Port to bind to if none is specified in conf
        """

        eventlet.wsgi.MAX_HEADER_LINE = self.conf.max_header_line
        self.application = application
        self.default_port = default_port
        self.configure_socket()
        self.start_wsgi()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号