Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.137.216.202
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : util.cpython-313.pyc
�

1}gq��p�SrSSKr/SQr"SS5rSrSrS
SjrS	rS
r1SkRr
Srg)z$Miscellaneous WSGI-related Utilities�N)�FileWrapper�guess_scheme�application_uri�request_uri�shift_path_info�setup_testing_defaults�
is_hop_by_hopc�.�\rSrSrSrSSjrSrSrSrg)	r�z1Wrapper to convert file-like objects to iterablesc�b�XlX l[US5(aURUlgg)N�close)�filelike�blksize�hasattrr
)�selfrrs   �3/opt/alt/python313/lib64/python3.13/wsgiref/util.py�__init__�FileWrapper.__init__s)�� �
����8�G�$�$�!���D�J�%�c��U$�N�)rs r�__iter__�FileWrapper.__iter__s���rc�j�URRUR5nU(aU$[er)r�readr�
StopIteration)r�datas  r�__next__�FileWrapper.__next__s(���}�}�!�!�$�,�,�/����K��r)rr
rN)i )	�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrr�__static_attributes__rrrrrs��;�(��rrc�0�URS5S;agg)zMReturn a guess for whether 'wsgi.url_scheme' should be 'http' or 'https'
    �HTTPS)�yes�on�1�https�http)�get)�environs rrrs���{�{�7��/�/��rc��USS-nSSKJn URS5(aXS-
nO9XS-
nUSS:XaUSS	:waUS
US--
nOUSS:waUS
US--
nX"URS5=(d S
SS9-
nU$)z@Return the application's base URI (no PATH_INFO or QUERY_STRING)�wsgi.url_schemez://r��quote�	HTTP_HOST�SERVER_NAMEr,�SERVER_PORT�443�:�80�SCRIPT_NAME�/�latin1)�encoding)�urllib.parser3r.)r/�urlr3s   rrr%s���
�#�
$�U�
*�C�"��{�{�;����{�#�#���}�%�%���$�%��0��}�%��.��s�W�]�3�3�3����}�%��-��s�W�]�3�3�3���5����]�+�2�s�X�F�F�C��Jrc���[U5nSSKJn U"URSS5SSS9nURS5(dX$S	S
-
nOX$-
nU(a!URS5(aUSUS--
nU$)
zBReturn the full request URI, optionally including the query stringrr2�	PATH_INFO�z/;=,r<)�safer=r:�N�QUERY_STRING�?)rr>r3r.)r/�
include_queryr?r3�	path_infos     rrr9sw��
�'�
"�C�"��g�k�k�+�b�1���R�I��;�;�}�%�%����}����������^�4�4��s�W�^�,�,�,���Jrc���URSS5nU(dgURS5nUSSVs/sHo3(dMUS:wdMUPM snUSS&USnUS	URSS5n[R"US-U-5nUR	S5(aUSSnU(dUR	S5(dUS-
nXPS'SRU5US'US:XaSnU$s snf)	a6Shift a name from PATH_INFO to SCRIPT_NAME, returning it

If there are no remaining path segments in PATH_INFO, return None.
Note: 'environ' is modified in-place; use a copy if you need to keep
the original PATH_INFO or SCRIPT_NAME.

Note: when PATH_INFO is just a '/', this returns '' and appends a trailing
'/' to SCRIPT_NAME, even though empty path segments are normally ignored,
and SCRIPT_NAME doesn't normally end in a '/'.  This is intentional
behavior, to ensure that an application can tell the difference between
'/x' and '/x/' when traversing to objects.
rArBNr;rD����.r:)r.�split�	posixpath�normpath�endswith�join)r/rH�
path_parts�p�name�script_names      rrrFs������K��+�I�������%�J�#-�a��#3�F�#3�a�q��Q�#�X��#3�F�J�q����a�=�D��1�
��+�+�m�B�/�K��$�$�[��_�T�%9�:�K����C� � �!�#�2�&����,�,�S�1�1��s���(�M�� �X�X�j�1�G�K���S�y����K��+Gs�
C*�C*�	C*c��URSS5 URSS5 URSUS5 URSS5 SU;a*S	U;a$URSS
5 URS	S5 URSS
5 URSS5 URSS5 URSS5 SSKJnJn URSU"55 URSU"55 URS[	U55 USS:XaURSS5 gUSS:XaURSS5 gg)aUpdate 'environ' with trivial defaults for testing purposes

This adds various parameters required for WSGI, including HTTP_HOST,
SERVER_NAME, SERVER_PORT, REQUEST_METHOD, SCRIPT_NAME, PATH_INFO,
and all of the wsgi.* variables.  It only supplies default values,
and does not replace any existing settings for these variables.

This routine is intended to make it easier for unit tests of WSGI
servers and applications to set up dummy environments.  It should *not*
be used by actual WSGI servers or applications, since the data is fake!
r5z	127.0.0.1�SERVER_PROTOCOLzHTTP/1.0r4�REQUEST_METHOD�GETr:rArBr;zwsgi.version)rDrz
wsgi.run_oncerzwsgi.multithreadzwsgi.multiprocess)�StringIO�BytesIOz
wsgi.inputzwsgi.errorsr1r-r6r9r,r7N)�
setdefault�iorYrZr)r/rYrZs   rrros:�����}�[�1����(��4����{�7�=�#9�:����'��.��G�#��7�(B����=��,����;�s�+����~�u�-������*����)�1�-����*�A�.�$����|�W�Y�/����}�h�j�1����(��g�)>�?�� �!�6�)����=�$�/�	�"�	#�W�	,����=�%�0�
-r>�te�upgrade�trailers�
connection�
keep-alive�transfer-encoding�proxy-authenticate�proxy-authorizationc�4�[UR55$)z?Return true if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header)�_hoppish�lower)�header_names rr	r	�s���K�%�%�'�(�(r)T)r%rM�__all__rrrrrr�__contains__rfr	rrr�<module>rksM��*������$��(�'�R$1�P��,�		�)r
© 2025 GrazzMean-Shell