| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/web/__pycache__/ |
Upload File : |
�
oj( � �� � d Z ddlZddlZddlZddlmZmZ ddlmZm Z ddl
mZmZm
Z
mZ ddlmZ ddlmZmZmZmZmZmZmZmZ G d� d ej4 � Zd
� Z G d� dej8 � Zd
� Zy)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 � � e Zd ZdZdZg d�g d�g d�gZg d�g d�gZej dd d
ej j �d�dz g� ej ej d
� ej d� ej d� d��� ZdZd� Zd� ZeZd� Zd� Zd� ZeZd� ZeZd� Zd� Zd� Zd� Zd� Zd� ZeZd� Z d� Z!d � Z"d!� Z#y")#�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 zsInstead of generating a webserver, generate a ResourcePublisher which listens on the port given by --listen, or ~/� 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 �~ � t j j | � g | d<