$68 GRAYBYTE WORDPRESS FILE MANAGER $69

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python33/lib64/python3.3/wsgiref/__pycache__/

HOME
Current File : /opt/alt/python33/lib64/python3.3/wsgiref/__pycache__//util.cpython-33.pyc
�
��fc@s�dZddlZddddddgZGd	d�d�Zd
d�Zdd�Zddd�Zd
d�Zdd�Z	idd6dd6dd6dd6dd6dd6dd6dd6j
Zdd�ZdS(u$Miscellaneous WSGI-related UtilitiesiNuFileWrapperuguess_schemeuapplication_uriurequest_uriushift_path_infousetup_testing_defaultscBsM|EeZdZdZddd�Zdd�Zdd�Zd	d
�ZdS(uFileWrapperu1Wrapper to convert file-like objects to iterablesi cCs4||_||_t|d�r0|j|_ndS(Nuclose(ufilelikeublksizeuhasattruclose(uselfufilelikeublksize((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyu__init__s		uFileWrapper.__init__cCs)|jj|j�}|r|St�dS(N(ufilelikeureadublksizeu
IndexError(uselfukeyudata((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyu__getitem__suFileWrapper.__getitem__cCs|S(N((uself((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyu__iter__suFileWrapper.__iter__cCs)|jj|j�}|r|St�dS(N(ufilelikeureadublksizeu
StopIteration(uselfudata((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyu__next__suFileWrapper.__next__N(u__name__u
__module__u__qualname__u__doc__u__init__u__getitem__u__iter__u__next__(u
__locals__((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyuFileWrappers
cCs!|jd�dkrdSdSdS(	uMReturn a guess for whether 'wsgi.url_scheme' should be 'http' or 'https'
    uHTTPSuyesuonu1uhttpsuhttpN(uyesuonu1(uget(uenviron((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyuguess_scheme#scCs�|dd}ddlm}|jd�r>||d7}nk||d7}|ddkr�|dd	kr�|d
|d7}q�n%|ddkr�|d
|d7}n|||jd�p�d
dd�7}|S(u@Return the application's base URI (no PATH_INFO or QUERY_STRING)uwsgi.url_schemeu://i(uquoteu	HTTP_HOSTuSERVER_NAMEuhttpsuSERVER_PORTu443u:u80uSCRIPT_NAMEu/uencodingulatin1(uurllib.parseuquoteuget(uenvironuurluquote((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyuapplication_uri+s%cCs�t|�}ddlm}||jdd�dddd�}|jd	�sf||d
d�7}n
||7}|r�|jd�r�|d
|d7}n|S(uBReturn the full request URI, optionally including the query stringi(uquoteu	PATH_INFOuusafeu/;=,uencodingulatin1uSCRIPT_NAMEiNuQUERY_STRINGu?(uapplication_uriuurllib.parseuquoteuget(uenvironu
include_queryuurluquoteu	path_info((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyurequest_uri?s$
cCs|jdd�}|sdS|jd�}dd�|dd
�D�|dd�<|d}|d=|jdd�}tj|d|�}|jd�r�|dd�}n|r�|jd�r�|d7}n||d<dj|�|d<|d	krd}n|S(
uZShift 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.
    u	PATH_INFOuu/cSs(g|]}|r|dkr|�qS(u.((u.0up((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyu
<listcomp>^s	u#shift_path_info.<locals>.<listcomp>iuSCRIPT_NAMENu.i����i����i����(ugetuNoneusplitu	posixpathunormpathuendswithujoin(uenvironu	path_infou
path_partsunameuscript_name((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyushift_path_infoLs$
'


	cCs[|jdd�|jdd�|jd|d�|jdd�d|krd	|kr|jdd
�|jd	d�n|jdd�|jdd�|jdd�|jdd�ddlm}m}|jd|��|jd|��|jdt|��|ddkr4|jdd�n#|ddkrW|jdd�ndS(u:Update '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!
    uSERVER_NAMEu	127.0.0.1uSERVER_PROTOCOLuHTTP/1.0u	HTTP_HOSTuREQUEST_METHODuGETuSCRIPT_NAMEu	PATH_INFOuu/uwsgi.versioniiu
wsgi.run_onceuwsgi.multithreaduwsgi.multiprocess(uStringIOuBytesIOu
wsgi.inputuwsgi.errorsuwsgi.url_schemeuhttpuSERVER_PORTu80uhttpsu443N(ii(u
setdefaultuiouStringIOuBytesIOuguess_scheme(uenvironuStringIOuBytesIO((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyusetup_testing_defaultsus&
iu
connectionu
keep-aliveuproxy-authenticateuproxy-authorizationuteutrailersutransfer-encodinguupgradecCst|j��S(u?Return true if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header(u_hoppishulower(uheader_name((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyu
is_hop_by_hop�su
is_hop_by_hopT(
u__doc__u	posixpathu__all__uFileWrapperuguess_schemeuapplication_uriuTrueurequest_uriushift_path_infousetup_testing_defaultsu__contains__u_hoppishu
is_hop_by_hop(((u1/opt/alt/python33/lib64/python3.3/wsgiref/util.pyu<module>s
)(



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-33.pyc
0.732 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
__init__.cpython-33.pyo
0.732 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
handlers.cpython-33.pyc
22.735 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
handlers.cpython-33.pyo
22.19 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
headers.cpython-33.pyc
10.429 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
headers.cpython-33.pyo
10.341 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
simple_server.cpython-33.pyc
7.677 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
simple_server.cpython-33.pyo
7.677 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
util.cpython-33.pyc
7.139 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
util.cpython-33.pyo
7.139 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
validate.cpython-33.pyc
20.538 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
validate.cpython-33.pyo
20.538 KB
17 Apr 2024 4.58 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF