Graybyt3 Was Here
Linux host1.absolutelystunningcenterpieces.com 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64
Apache
69.167.136.200
/
lib
/
python2.7
/
site-packages
/
pip
/
_vendor
/
urllib3
/
packages
/
rfc3986
[ HOME ]
Exec
Submit
File Name : uri.pyc
� }�\]c @ s d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d e d e j � e f d � � YZ d S( s? Module containing the implementation of the URIReference class.i����( t namedtuplei ( t compat( t misc( t normalizers( t URIMixint URIReferencec B sM e Z d Z d Z d d � Z e j Z d � Z d � Z e d d � � Z RS( s� Immutable object representing a parsed URI Reference. .. note:: This class is not intended to be directly instantiated by the user. This object exposes attributes for the following components of a URI: - scheme - authority - path - query - fragment .. attribute:: scheme The scheme that was parsed for the URI Reference. For example, ``http``, ``https``, ``smtp``, ``imap``, etc. .. attribute:: authority Component of the URI that contains the user information, host, and port sub-components. For example, ``google.com``, ``127.0.0.1:5000``, ``username@[::1]``, ``username:password@example.com:443``, etc. .. attribute:: path The path that was parsed for the given URI Reference. For example, ``/``, ``/index.php``, etc. .. attribute:: query The query component for a given URI Reference. For example, ``a=b``, ``a=b%20c``, ``a=b+c``, ``a=b,c=d,e=%20f``, etc. .. attribute:: fragment The fragment component of a URI. For example, ``section-3.1``. This class also provides extra attributes for easier access to information like the subcomponents of the authority component. .. attribute:: userinfo The user information parsed from the authority. .. attribute:: host The hostname, IPv4, or IPv6 adddres parsed from the authority. .. attribute:: port The port parsed from the authority. s utf-8c C sF t t | � j | | p d | p$ d | p- d | | � } | | _ | S( s Create a new URIReference.N( t superR t __new__t Nonet encoding( t clst schemet authorityt patht queryt fragmentR t ref( ( sG /tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/uri.pyR U s c C s� | } t | t � r$ t | � } nW t | t � s{ y t j | � } Wq{ t k rw t d j t | � j � � � q{ Xn t | � t | � k } | p� | j | � S( s"