$89 GRAYBYTE WORDPRESS FILE MANAGER $19

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

/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/

HOME
Current File : /usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util//url.pyo
�
��abc@@s�ddlmZddlmZddlZddlmZdddd	d
ddgZdZ	ej
d�Zddlm
Z
dede�fd��YZd�Zd�Zd�ZdS(i(tabsolute_import(t
namedtupleNi(tLocationParseErrortschemetauththosttporttpathtquerytfragmentthttpthttpss[- ](tquotetUrlcB@sweZdZdZdddddddd�Zed��Zed��Zed��Z	ed��Z
d�ZRS(	s�
    Datastructure for representing an HTTP URL. Used as a return value for
    :func:`parse_url`. Both the scheme and host are normalized as they are
    both case-insensitive according to RFC 3986.
    c	C@s�|r#|jd�r#d|}n|r8|j�}n|rY|tkrY|j�}ntt|�j||||||||�S(Nt/(t
startswithtlowertNORMALIZABLE_SCHEMEStsuperR
t__new__(tclsRRRRRRR	((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pyRs
!cC@s|jS(s@For backwards-compatibility with urlparse. We're nice like that.(R(tself((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pythostname$scC@s6|jpd}|jdk	r2|d|j7}n|S(s)Absolute path including the query string.Rt?N(RRtNone(Rturi((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pytrequest_uri)scC@s$|jrd|j|jfS|jS(s(Network location including host and ports%s:%d(RR(R((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pytnetloc3s	c	C@s�|\}}}}}}}d}|dk	r>||d7}n|dk	r[||d7}n|dk	rt||7}n|dk	r�|dt|�7}n|dk	r�||7}n|dk	r�|d|7}n|dk	r�|d|7}n|S(s�
        Convert self into a url

        This function should more or less round-trip with :func:`.parse_url`. The
        returned url may not be exactly the same as the url inputted to
        :func:`.parse_url`, but it should be equivalent by the RFC (e.g., urls
        with a blank port will have : removed).

        Example: ::

            >>> U = parse_url('http://google.com/mail/')
            >>> U.url
            'http://google.com/mail/'
            >>> Url('http', 'username:password', 'host.com', 80,
            ... '/path', 'query', 'fragment').url
            'http://username:[email protected]:80/path?query#fragment'
        ts://t@t:Rt#N(Rtstr(	RRRRRRRR	turl((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pyR!:s"

cC@s|jS(N(R!(R((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pyt__str__bs(N(t__name__t
__module__t__doc__t	__slots__RRtpropertyRRRR!R"(((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pyR
s

(cC@s�d}d}xV|D]N}|j|�}|dkr:qn|dksR||kr|}|}qqW|dks}|dkr�|ddfS|| ||d|fS(s�
    Given a string and an iterable of delimiters, split on the first found
    delimiter. Return two split parts and the matched delimiter.

    If not found, then the first part is the full input string.

    Example::

        >>> split_first('foo/bar?baz', '?/=')
        ('foo', 'bar?baz', '/')
        >>> split_first('foo/bar?baz', '123')
        ('foo/bar?baz', '', None)

    Scales linearly with number of delims. Not ideal for large number of delims.
    iRiN(Rtfind(tstdelimstmin_idxt	min_delimtdtidx((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pytsplit_firstfs


cC@s;|s
t�Stjd�|�}d}d}d}d}d}d}d}d|krs|jdd�\}}nt|dddg�\}}}	|	r�|	|}nd|kr�|jdd�\}}n|r	|dd	kr	|jd
d�\}}|d
7}nd|kr�|jdd�\}
}|s<|
}n|r�|j�s]t|��nyt	|�}Wq�t
k
r�t|��q�Xq�d}n|r�|r�|}n|s�t|||||||�Sd|kr�|jdd�\}}nd|kr|jdd�\}}nt|||||||�S(
s:
    Given a url, return a parsed :class:`.Url` namedtuple. Best-effort is
    performed to parse incomplete urls. Fields not provided will be None.

    Partly backwards-compatible with :mod:`urlparse`.

    Example::

        >>> parse_url('http://google.com/mail/')
        Url(scheme='http', host='google.com', port=None, path='/mail/', ...)
        >>> parse_url('google.com:80')
        Url(scheme=None, host='google.com', port=80, path=None, ...)
        >>> parse_url('/foo?bar')
        Url(scheme=None, host=None, port=None, path='/foo', query='bar', ...)
    cS@st|j��S(N(Rtgroup(tmatch((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pyt<lambda>�Rs://iRRRRit[t]RN(R
t!_contains_disallowed_url_pchar_retsubRtsplitR/trsplittisdigitRtintt
ValueError(R!RRRRRR	Rtpath_tdelimt_host((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pyt	parse_url�sR!

	
	
	cC@s(t|�}|jpd|j|jfS(s4
    Deprecated. Use :func:`parse_url` instead.
    R
(R?RRR(R!tp((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pytget_host�s(R
RN(t
__future__RtcollectionsRtret
exceptionsRt	url_attrsRRtcompileR5tpackages.six.moves.urllib.parseRR
R/R?RA(((s@/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/url.pyt<module>sU	!	a


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 8.23 PM
root / root
0755
__init__.py
1.02 KB
21 Apr 2022 6.08 PM
root / root
0644
__init__.pyc
1.247 KB
21 Apr 2022 6.08 PM
root / root
0644
__init__.pyo
1.247 KB
21 Apr 2022 6.08 PM
root / root
0644
connection.py
4.138 KB
21 Apr 2022 6.08 PM
root / root
0644
connection.pyc
3.78 KB
21 Apr 2022 6.08 PM
root / root
0644
connection.pyo
3.78 KB
21 Apr 2022 6.08 PM
root / root
0644
request.py
3.618 KB
21 Apr 2022 6.08 PM
root / root
0644
request.pyc
3.669 KB
21 Apr 2022 6.08 PM
root / root
0644
request.pyo
3.669 KB
21 Apr 2022 6.08 PM
root / root
0644
response.py
2.288 KB
21 Apr 2022 6.08 PM
root / root
0644
response.pyc
2.243 KB
21 Apr 2022 6.08 PM
root / root
0644
response.pyo
2.243 KB
21 Apr 2022 6.08 PM
root / root
0644
retry.py
14.75 KB
21 Apr 2022 6.08 PM
root / root
0644
retry.pyc
14.383 KB
21 Apr 2022 6.08 PM
root / root
0644
retry.pyo
14.383 KB
21 Apr 2022 6.08 PM
root / root
0644
selectors.py
20.651 KB
21 Apr 2022 6.08 PM
root / root
0644
selectors.pyc
20.493 KB
21 Apr 2022 6.08 PM
root / root
0644
selectors.pyo
20.493 KB
21 Apr 2022 6.08 PM
root / root
0644
ssl_.py
11.928 KB
21 Apr 2022 6.08 PM
root / root
0644
ssl_.pyc
10.356 KB
21 Apr 2022 6.08 PM
root / root
0644
ssl_.pyo
10.356 KB
21 Apr 2022 6.08 PM
root / root
0644
timeout.py
9.528 KB
21 Apr 2022 6.08 PM
root / root
0644
timeout.pyc
9.488 KB
21 Apr 2022 6.08 PM
root / root
0644
timeout.pyo
9.488 KB
21 Apr 2022 6.08 PM
root / root
0644
url.py
6.639 KB
21 Apr 2022 6.08 PM
root / root
0644
url.pyc
6.614 KB
21 Apr 2022 6.08 PM
root / root
0644
url.pyo
6.614 KB
21 Apr 2022 6.08 PM
root / root
0644
wait.py
1.417 KB
21 Apr 2022 6.08 PM
root / root
0644
wait.pyc
1.799 KB
21 Apr 2022 6.08 PM
root / root
0644
wait.pyo
1.799 KB
21 Apr 2022 6.08 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF