/opt/cloudlinux/venv/lib/python3.11/site-packages/urllib3/util/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/urllib3/util/__pycache__/url.cpython-311.pyc (17801B)
§
ÃØ²ÕI´çQã óò — d dl mZ d dlZd dlZddlmZ ddlmZ dZ ej d¦ « Z
ej d ¦ « Z ej d
ej ej
z ¦ « ZdZdZd
ee¬¦ « ZeedœZg d¢ZdZdd d„ eD ¦ « ¦ « z dz Zdez dz Zdez dz ez dz ZdZ ej d¦ « Z ej dez dz ¦ « Z ej dez dz ¦ « Z ej dez dz ¦ « Z ej dedd… z dz ¦ « Z ej dez d z ¦ « Z d!e›de›de›d"�Z! ej e!ej ej
z ¦ « Z" e#d#¦ « Z$ e#d$¦ « Z%e$e%z d%hz Z&e&d&d'hz Z'e'd(hz xZ(Z) G d)„ d* ej* d*d+ej+ e, fd,ej+ e, fd-ej+ e, fd.ej+ e- fd/ej+ e, fd0ej+ e, fd1ej+ e, fg¦ « ¦ « Z.ej/ dGd7„¦ « Z0ej/ dHd9„¦ « Z0dId;„Z0dJd<„Z1ej/ dKd=„¦ « Z2ej/ dLd>„¦ « Z2dMd?„Z2dNdB„Z3dOdD„Z4dPdF„Z5dS )Qé )ÚannotationsNé )ÚLocationParseErroré )Úto_str)ÚhttpÚhttpsNz%[a-fA-F0-9]{2}z^(?:[a-zA-Z][a-zA-Z0-9+-]*:|/)zS^(?:([a-zA-Z][a-zA-Z0-9+.-]*):)?(?://([^\\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?$z(?:[0-9]{1,3}\.){3}[0-9]{1,3}z[0-9A-Fa-f]{1,4}z(?:{hex}:{hex}|{ipv4}))ÚhexÚipv4)r
Úls32) z(?:%(hex)s:){6}%(ls32)sz::(?:%(hex)s:){5}%(ls32)sz%(?:%(hex)s)?::(?:%(hex)s:){4}%(ls32)sz2(?:(?:%(hex)s:)?%(hex)s)?::(?:%(hex)s:){3}%(ls32)sz6(?:(?:%(hex)s:){0,2}%(hex)s)?::(?:%(hex)s:){2}%(ls32)sz/(?:(?:%(hex)s:){0,3}%(hex)s)?::%(hex)s:%(ls32)sz'(?:(?:%(hex)s:){0,4}%(hex)s)?::%(ls32)sz&(?:(?:%(hex)s:){0,5}%(hex)s)?::%(hex)sz(?:(?:%(hex)s:){0,6}%(hex)s)?::zCABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._\-~z(?:ú|c ó" — g | ]}|t z ‘Œ
S © )Ú_subs)Ú.0Úxs úb/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/urllib3/util/url.pyú
r 4 s € Ð=Ð=Ð=¨A˜a¥%™iÐ=Ð=Ð=ó ú)z
(?:%25|%)(?:[z]|%[a-fA-F0-9]{2})+z\[z)?\]z!(?:[^\[\]%:/?#]|%[a-fA-F0-9]{2})*z!^(/[^?#]*)(?:\?([^#]*))?(?:#.*)?$ú^ú$éþÿÿÿú(z)\]$z^(z)(?::0*?(|0|[1-9][0-9]{0,4}))?$zBABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-~z!$&'()*+,;=ú:ú@ú/ú?c ó´ ‡ — e Zd ZdZ ddˆ fd„
Zedd„¦ « Zedd„¦ « Zedd„¦ « Zedd„¦ « Z edd„¦ « Z
dd„Zˆ xZS )ÚUrlzÍ
Data structure 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.
NÚschemeú
str | NoneÚauthÚhostÚportú
int | NoneÚpathÚqueryÚfragmentc
ó¸ •— |r| d¦ « sd|z }|�| ¦ « }t ¦ « | |||||||¦ « S )Nr )Ú
startswithÚlowerÚsuperÚ__new__) Úclsr! r# r$ r% r' r( r) Ú __class__s €r r. zUrl.__new__d s` ø€ ð 𠘟š¨Ñ,Ô,ð Ø˜‘:ˆDØÐØ—\’\‘^”^ˆF݉wŒw�Š˜s F¨D°$¸¸dÀEÈ8ÑTÔTÐTr Úreturnc ó — | j S )z@For backwards-compatibility with urlparse. We're nice like that.)r$ ©Úselfs r ÚhostnamezUrl.hostnamet s € ð ŒyÐr Ústrc ó@ — | j pd}| j �
|d| j z z
}|S )z)Absolute path including the query string.r Nr )r' r( )r4 Úuris r Úrequest_urizUrl.request_uriy s. € ð ŒiИ3ˆàŒ:Ð!Ø�3˜œÑ#Ñ#ˆCàˆ
r c ó8 — | j }| j }|�|€|S |› d|› �S )z¤
Authority component as defined in RFC 3986 3.2.
This includes userinfo (auth), host and port.
i.e.
userinfo@host:port
Nr )r# Únetloc)r4 Úuserinfor; s r Ú authorityz
Url.authorityƒ s5 € ð ”9ˆØ”ˆØˆ>˜XÐ-؈MàÐ)Ð) Ð)Ð)Ð)r c óR — | j €dS | j r| j › d| j › �S | j S )z
Network location including host and port.
If you need the equivalent of urllib.parse's ``netloc``,
use the ``authority`` property instead.
Nr )r$ r% r3 s r r; z
Url.netloc“ s; € ð Œ9ÐØ�4ØŒ9ð .Ø”iÐ-Ð- $¤)Ð-Ð-Ð-ØŒyÐr c ó¸ — | \ }}}}}}}d}|�||dz z
}|�||dz z
}|�||z
}|�|dt |¦ « z z
}|�||z
}|�|d|z z
}|�|d|z z
}|S )a2
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:
.. code-block:: python
import urllib3
U = urllib3.util.parse_url("https://google.com/mail/")
print(U.url)
# "https://google.com/mail/"
print( urllib3.util.Url("https", "username:password",
"host.com", 80, "/path", "query", "fragment"
).url
)
# "https://username:password@host.com:80/path?query#fragment"
Ú Nz://r r r ú#)r6 ) r4 r! r# r$ r% r' r( r) Úurls r rB zUrl.url¡ s¬ € ð6 ;?Ñ7ˆ��d˜D $¨¨x؈ð ÐØ�6˜E‘>Ñ!ˆCØÐØ�4˜#‘:шCØÐØ�4‰KˆCØÐØ�3�˜T™œ‘?Ñ"ˆCØÐØ�4‰KˆCØÐØ�3˜‘;шCØÐØ�3˜‘>Ñ!ˆCàˆ
r c ó — | j S ©N)rB r3 s r Ú__str__zUrl.__str__Ñ s € ØŒxˆr )NNNNNNN)r! r" r# r" r$ r" r% r&