| 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 : /usr/lib/python2.7/site-packages/requests/ |
Upload File : |
�
>u�Tc @ s$ d Z d d l Z d d l Z d d l m Z m Z m Z m Z y d d l Z e Wn e k
rs d d l
Z n Xd e f d � � YZ d e f d � � YZ
d � Z d
� Z d d d � Z d e f d
� � YZ d e j e j f d � � YZ d � Z d � Z d e d � Z d � Z d S( s�
Compatibility code to be able to use `cookielib.CookieJar` with requests.
requests.utils imports from here, so be careful with imports.
i����Ni ( t cookielibt urlparset
urlunparset Morselt MockRequestc B s� e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d d � Z d � Z d
� Z
d � Z e d � � Z e d
� � Z e d � � Z RS( s� Wraps a `requests.Request` to mimic a `urllib2.Request`.
The code in `cookielib.CookieJar` expects this interface in order to correctly
manage cookie policies, i.e., determine whether a cookie can be set, given the
domains of the request and the cookie.
The original request object is read-only. The client is responsible for collecting
the new headers via `get_new_headers()` and interpreting them appropriately. You
probably want `get_cookie_header`, defined below.
c C s. | | _ i | _ t | j j � j | _ d S( N( t _rt _new_headersR t urlt schemet type( t selft request( ( s4 /usr/lib/python2.7/site-packages/requests/cookies.pyt __init__! s c C s | j S( N( R ( R
( ( s4 /usr/lib/python2.7/site-packages/requests/cookies.pyt get_type&