Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.6/site-packages/pip/_vendor/urllib3/util/__pycache__/ |
Upload File : |
3 )�]b� � @ s� d dl mZ d dlmZ d dlZddlmZ dddd d ddgZdZej d�Z ddlmZ G dd� dede��Z dd� Zdd� Zdd� ZdS )� )�absolute_import)� namedtupleN� )�LocationParseError�scheme�auth�host�port�path�query�fragment�http�httpsz[ - ])�quotec s^ e Zd ZdZf Zd� fdd� Zedd� �Zedd� �Zed d � �Z edd� �Z d d� Z� ZS )�Urlz� 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. Nc sV |r|j d� rd| }|r$|j� }|r8|tkr8|j� }tt| �j| |||||||�S )N�/)� startswith�lower�NORMALIZABLE_SCHEMES�superr �__new__)�clsr r r r r r r )� __class__� �/usr/lib/python3.6/url.pyr s zUrl.__new__c C s | j S )z@For backwards-compatibility with urlparse. We're nice like that.)r )�selfr r r �hostname$ s zUrl.hostnamec C s&