%PDF- %PDF-
 Mini Shell
 Mini Shell  
 | Direktori : /lib/python3/dist-packages/twisted/web/__pycache__/ | 
| Current File : //lib/python3/dist-packages/twisted/web/__pycache__/tap.cpython-312.pyc | 
�
    Ϫ�f(  �                   ��   � 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<