AlkantarClanX12
Current Path : /opt/alt/python310/lib64/python3.10/urllib/__pycache__/ |
Current File : //opt/alt/python310/lib64/python3.10/urllib/__pycache__/parse.cpython-310.pyc |
o 6��f � � @ s d Z ddlZddlZddlZddlZddlZg d�Zg d�Zg d�Zg d�Z g d�Z g d�Zg d �Zd Z dZg d�Zd Zi Zdd� ZdZdZdd� Zeefdd�Zeefdd�Zdd� ZG dd� de�ZG dd� de�ZG dd� de�ZG d d!� d!ee�ZG d"d#� d#ee�Zdd$lmZ ed%d&�Z ed'd(�Z!ed)d*�Z"d+e _ d,e j#_ d-e j$_ d.e!_ d/e!j%_ d0e!j&_ d1e!j'_ d2e!j(_ d3e!j$_ d4e"_ e!j%j e"j%_ e!j&j e"j&_ e!j'j e"j'_ d5e"j)_ e!j(j e"j(_ e!j$j e"j$_ eZ*G d6d%� d%e e�Z+G d7d'� d'e!e�Z,G d8d)� d)e"e�Z-G d9d:� d:e e�Z.G d;d<� d<e!e�Z/G d=d>� d>e"e�Z0d?d@� Z1e1� [1d�dCdD�Z2dEdF� Z3d�dGdH�Z4dIdJ� Z5d�dKdL�Z6dMdN� Z7dOdP� Z8d�dQdR�Z9dSdT� Z:dUZ;da<dVdW� Z=e�>dX�Z?d�d[d\�Z@ ] ^d�d_d`�ZA ] ^d�dadb�ZBd�dcdd�ZCeDde�ZEeFeE�ZGi ZHG dfdg� dgejI�ZJd�didj�ZKd�dkdl�ZLd�dmdn�ZMd]dAddeLfdodp�ZNdqdr� ZOdsdt� ZPdudv� ZQdwdx� ZRdaSdydz� ZTd{d|� ZUdaVd}d~� ZWdd�� ZXd�d�� ZYd�d�� ZZd�d�� Z[d�d�� Z\da]d�d�� Z^d�d�d��Z_d�d�d��Z`d�d�� Zad�d�� Zbd�d�� Zcd�d�� Zdd�d�� Zed�d�� Zfd�d�� Zgd�d�� ZhdS )�a3 Parse (absolute and relative) URLs. urlparse module is based upon the following RFC specifications. RFC 3986 (STD66): "Uniform Resource Identifiers" by T. Berners-Lee, R. Fielding and L. Masinter, January 2005. RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter and L.Masinter, December 1999. RFC 2396: "Uniform Resource Identifiers (URI)": Generic Syntax by T. Berners-Lee, R. Fielding, and L. Masinter, August 1998. RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zawinski, July 1998. RFC 1808: "Relative Uniform Resource Locators", by R. Fielding, UC Irvine, June 1995. RFC 1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M. McCahill, December 1994 RFC 3986 is considered the current standard and any future changes to urlparse module should conform with it. The urlparse module is currently not entirely compliant with this RFC due to defacto scenarios for parsing, and for backward compatibility purposes, some parsing quirks from older RFCs are retained. The testcases in test_urlparse.py provides a good indicator of parsing behavior. The WHATWG URL Parser spec should also be considered. We are not compliant with it either due to existing user code API behavior expectations (Hyrum's Law). It serves as a useful guide when making changes. � N)�urlparse� urlunparse�urljoin� urldefrag�urlsplit� urlunsplit� urlencode�parse_qs� parse_qsl�quote� quote_plus�quote_from_bytes�unquote�unquote_plus�unquote_to_bytes�DefragResult�ParseResult�SplitResult�DefragResultBytes�ParseResultBytes�SplitResultBytes)� �ftp�http�gopher�nntp�imap�wais�file�https�shttp�mms�prospero�rtsp�rtspu�sftp�svn�svn+ssh�ws�wss)r r r r r �telnetr r r r! r r �snewsr"