|  | 
 |  | 
 | 
												
													
														| 78 |      logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n"
 | 78 |      logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n"
 | 
												
													
														| 79 |                      "Some HTTPS connections will fail")
 | 79 |                      "Some HTTPS connections will fail")
 | 
												
													
														| 80 |  
 | 80 |  
 | 
												
													
														|  | 
 | 81 | +# serve pages with HTTP/1.1
 | 
												
													
														|  | 
 | 82 | +from werkzeug.serving import WSGIRequestHandler
 | 
												
													
														|  | 
 | 83 | +WSGIRequestHandler.protocol_version = "HTTP/1.1"
 | 
												
													
														| 81 |  
 | 84 |  
 | 
												
													
														| 82 |  static_path, templates_path, themes =\
 | 85 |  static_path, templates_path, themes =\
 | 
												
													
														| 83 |      get_themes(settings['ui']['themes_path']
 | 86 |      get_themes(settings['ui']['themes_path']
 |