| Server IP : 159.223.102.202 / Your IP : 216.73.216.195 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 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 : |
�
M��e�U � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ ddl
mZ dd lmZ dd
lmZ ddlmZ eeu rd� Zd
� Znd� Zd� Z G d� d� Z G d� d� Z G d� d� Z ee� G d� d� � ZdgZy)zo
An implementation of
U{Python Web Server Gateway Interface v1.0.1<http://www.python.org/dev/peps/pep-3333/>}.
� )�Sequence)�exc_info)�warn)�implementer)�blockingCallFromThread)�Logger)�Failure)�INTERNAL_SERVER_ERROR)� IResource)�NOT_DONE_YETc �H � t | t � r| S | j d� S )z�
Convert C{string} to an ISO-8859-1 byte string, if it is not already.
@type string: C{str}/C{bytes} or C{unicode}
@rtype: C{str}/C{bytes}
@raise UnicodeEncodeError: If C{string} contains non-ISO-8859-1 chars.
�
iso-8859-1)�
isinstance�str�encode��strings �2/usr/lib/python3/dist-packages/twisted/web/wsgi.py�_wsgiStringr * s"