| Server IP : 46.62.235.243 / Your IP : 216.73.216.163 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/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<