%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
a
�_g� � @ sD d dl mZ d dlmZ ddd�ZG dd� d�Zdd � Zd
d� ZdS )
� )�Mapping)�parse�P i� )�http�httpsc @ s� e Zd ZdZdZddd�Zdd� Zd d
� Zdd� Zd
d� Z dd� Z
edd� �Zedd� �Z
edd� �Zedd� �Zedd� �Zdd� ZdS )�URLa� Immutable URL class
You build it from an url string.
>>> url = URL('http://python.org/urls?param=asdfa')
>>> url
URL(http://python.org/urls?param=asdfa)
You cast it to a tuple, it returns the same tuple as `urlparse.urlsplit`.
>>> tuple(url)
('http', 'python.org', '/urls', 'param=asdfa', '')
You can cast it as a string.
>>> str(url)
'http://python.org/urls?param=asdfa'
��_parsed� Nc C sx t |t�rt�|�}n|}|\}}}}}} |d urNt|�}
|rJ|d |
n|
}|r^|�dd�}t�|||||| �| _d S )N�&� z%20)�
isinstance�str�urlparse�_encode_params�replace�ParseResultr )�self�url�params�parsed�scheme�netloc�pathZ
parsed_params�query�fragment�
new_params� r �A/vddos/python/lib/python3.9/site-packages/geventhttpclient/url.py�__init__ s
zURL.__init__c C s
| j �� S �N)r �geturl�r r r r �__str__) s zURL.__str__c C s d| � d�S )NzURL(�)r r"