| Server IP : 103.4.122.14 / Your IP : 216.73.216.103 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux cwp2.slnet.com.au 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : statewid ( 1251) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python2.7/site-packages/urllib3/util/ |
Upload File : |
�
i�L]c @ s� d d l m Z d d l Z d d l m Z d d l m Z d d d d d
d d g Z e j d
� Z d e d e � f d � � YZ
d � Z d � Z d � Z
d S( i����( t
namedtupleNi ( t LocationParseError( t quotet schemet autht hostt portt patht queryt fragments [ - ]t Urlc B sw e Z d Z d Z d d d d d d d d � Z e d � � Z e d � � Z e d � � Z e d � � Z
d � Z RS( sg
Datastructure for representing an HTTP URL. Used as a return value for
:func:`parse_url`.
c C s+ t t | � j | | | | | | | | � S( N( t superR
t __new__( t clsR R R R R R R ( ( s4 /usr/lib/python2.7/site-packages/urllib3/util/url.pyR s !c C s | j S( s@ For backwards-compatibility with urlparse. We're nice like that.( R ( t self( ( s4 /usr/lib/python2.7/site-packages/urllib3/util/url.pyt hostname s c C s6 | j p d } | j d k r2 | d | j 7} n | S( s) Absolute path including the query string.t /t ?N( R R t None( R t uri( ( s4 /usr/lib/python2.7/site-packages/urllib3/util/url.pyt request_uri s c C s$ | j r d | j | j f S| j S( s( Network location including host and ports %s:%d( R R ( R ( ( s4 /usr/lib/python2.7/site-packages/urllib3/util/url.pyt netloc( s c C s� | \ } } } } } } } d } | d k r>