Lines Matching defs:cherrypy
45 # cherrypy has a max_request_body_size parameter that determines whether the
48 # by cherrypy is 2048 * 1024 * 1024 - 1 (just short of 2048MB), but the default
87 import cherrypy
88 version = cherrypy.__version__.split('.')
93 print("""cherrypy 3.1.0 or greater is required to use this program.""",
97 import cherrypy.process.servers
98 from cherrypy.process.plugins import Daemonizer
99 from cherrypy._cpdispatch import Dispatcher
635 cherrypy.process.servers.check_port(address, port)
769 cherrypy.tools.log_headers_always = cherrypy.Tool(
771 cherrypy.lib.cptools.log_request_headers)
824 h.setFormatter(cherrypy._cplogging.logfmt)
825 log_obj = eval("cherrypy.log.{0}".format(
828 # Since we've replaced cherrypy's log handler with our
836 cherrypy.config.update(gconf)
858 log_obj=cherrypy, mirror=mirror, properties=repo_props,
942 # http://cherrypy.org/wiki/BuiltinTools#tools.proxy
955 ds.DNSSD_Plugin(cherrypy.engine, gconf).subscribe()
969 Daemonizer(cherrypy.engine, stderr=log_cfg["errors"],
973 root = cherrypy.Application(depot)
974 cherrypy.quickstart(root, config=conf)