https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/trac/web/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/trac/web/__pycache__/cgi_frontend.cpython-310.pyc
o

�k�`��@sxddlZddlZddlZddlmZddlmZddlm	Z	Gdd�de	�Z
dd�Zed	kr:e�
d
e�e�dSdS)�N)�__version__)�dispatch_request)�WSGIGatewayc@s(eZdZdZdZdZdd�Zdd�ZdS)�
CGIGatewayFTcCst�|ttj��dS)N)r�__init__�dict�os�environ)�self�r�7/usr/lib/python3/dist-packages/trac/web/cgi_frontend.pyr#szCGIGateway.__init__cCs~|jsJd��|js2|j\}}|_tj�d|�|D]
}tj�d|�qtj�d�tj��tj�|�tj��dS)NzResponse not startedzStatus: %s
z%s: %s
z
)�headers_set�headers_sent�sys�stdout�write�flush)r
�data�status�headers�headerrrr�_write&s
zCGIGateway._writeN)�__name__�
__module__�__qualname__�wsgi_multithread�wsgi_multiprocess�
wsgi_run_oncerrrrrrrsrc	Cs�z&ddl}tjtjfD]}|��}|�||j�}|�||j|tj@�qWnt	t
fy1Ynwzddl}|�tj��tj
�|�tj��tj
�Wn	t	yUYnwt�}|�t�dS)Nr)�fcntlr�stdinr�fileno�F_GETFL�F_SETFLr�
O_NONBLOCK�ImportError�AttributeError�msvcrt�setmode�O_BINARYr�runr)r�stream�fd�flagsr&�gatewayrrrr)5s&���r)�__main__zTrac==%s)r�
pkg_resourcesr�tracr�VERSION�
trac.web.mainr�
trac.web.wsgirrr)r�requirerrrr�<module>s
�

https://t.me/RX1948 - 2025