Add CherryPy Environment Option

This commit is contained in:
Eric Solari 2016-03-15 22:24:08 -05:00
parent c72314fb71
commit 6e5cd82dfb
3 changed files with 3 additions and 0 deletions

View file

@ -46,6 +46,7 @@ def initialize(options):
options_dict = {
'server.socket_port': options['http_port'],
'server.socket_host': options['http_host'],
'environment': options['http_environment'],
'server.thread_pool': 10,
'tools.encode.on': True,
'tools.encode.encoding': 'utf-8',