![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/twisted/web/__pycache__/ |
o �b( � @ s� d Z ddlZddlZddlZddlmZmZ ddlmZm Z ddl mZmZm Z mZ ddlmZ ddlmZmZmZmZmZmZmZmZ G dd � d ej�Zd d� ZG dd � d ej�Zdd� ZdS )z9 Support for creating a service which runs a web server. � N)�service�strports)� interfaces�reactor)� deprecate�reflect� threadpool�usage)�pb)�demo�distrib�resource�script�server�static�twcgi�wsgic @ s e Zd ZdZdZg d�g d�g d�gZg d�g d�gZe�dd d ej j f d g� eje� d�e� d �e� d �d�d�ZdZdd� Zdd� ZeZdd� Zdd� Zdd� ZeZdd� ZeZdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� ZeZd)d*� Z d+d,� Z!d-d.� Z"d/d0� Z#d1S )2�OptionszB Define the options accepted by the I{twistd web} plugin. z [web options])�logfile�lNz/Path to web CLF (Combined Log Format) log file.)�certificate�c� server.pemz=(DEPRECATED: use --listen) SSL certificate to use for HTTPS. )�privkey�kr z<(DEPRECATED: use --listen) SSL certificate to use for HTTPS.)�notracebacks�nzY(DEPRECATED: Tracebacks are disabled by default. See --enable-tracebacks to turn them on.)�display-tracebacks� z�Show uncaught exceptions during rendering tracebacks to the client. WARNING: This may be a security risk and expose private data!�personalr zvInstead of generating a webserver, generate a ResourcePublisher which listens on the port given by --listen, or ~/%s zif --listen is not specified.z*.logz*.pem)r r r )� optActionsz�This starts a webserver. If you specify no arguments, it will be a demo webserver that has the Test class from twisted.web.demo in it.c C s@ t j�| � g | d<