uawdijnntqw1x1x1
IP : 18.119.124.24
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
.
/
..
/
lib64
/
mysql
/
.
/
.
/
..
/
python2.7
/
.
/
ensurepip
/
.
/
..
/
unittest
/
..
/
_LWPCookieJar.pyo
/
/
� zfc@s�dZddlZddlZddlmZmZmZmZmZm Z m Z mZmZd�Z defd��YZdS(s�Load / save to libwww-perl (LWP) format files. Actually, the format is slightly extended from that used by LWP's (libwww-perl's) HTTP::Cookies, to avoid losing some RFC 2965 information not recorded by LWP. It uses the version string "2.0", though really there isn't an LWP Cookies 2.0 format. This indicates that there is extra information in here (domain_dot and # port_spec) while still being compatible with libwww-perl, I hope. i����N( t_warn_unhandled_exceptiont FileCookieJart LoadErrortCookietMISSING_FILENAME_TEXTtjoin_header_wordstsplit_header_wordstiso2timet time2isozcCs�|j|jfd|jfd|jfg}|jd k rU|jd|jf�n|jrn|jd�n|jr�|jd�n|j r�|jd�n|j r�|jd�n|jr�|jdtt |j��f�n|jr|jd�n|jr"|jd |jf�n|jrD|jd|jf�n|jj�}|j�x.|D]&}|j|t|j|�f�qdW|jdt|j�f�t|g�S(s�Return string representation of Cookie in the LWP cookie file format. Actually, the format is extended a bit -- see module docstring. tpathtdomaintportt path_spect port_spect domain_dottsecuretexpirestdiscardtcommentt commenturltversionN(RN(R N(RN(RN(RN(tnametvalueR R RtNonetappendtpath_specifiedtport_specifiedtdomain_initial_dotRRRtfloatRRtcomment_urlt_resttkeystsorttstrRR(tcookiethRtk((s%/usr/lib64/python2.7/_LWPCookieJar.pytlwp_cookie_strs8 $tLWPCookieJarcBs8eZdZeed�Zdeed�Zd�ZRS(s[ The LWPCookieJar saves a sequence of "Set-Cookie3" lines. "Set-Cookie3" is the format used by the libwww-perl library, not known to be compatible with any browser, but which is easy to read and doesn't lose information about RFC 2965 cookies. Additional methods as_lwp_str(ignore_discard=True, ignore_expired=True) cCs�tj�}g}xW|D]O}|r5|jr5qn|rQ|j|�rQqn|jdt|��qWdj|dg�S(s�Return cookies as a string of "\n"-separated "Set-Cookie3" headers. ignore_discard and ignore_expires: see docstring for FileCookieJar.save sSet-Cookie3: %ss t(ttimeRt is_expiredRR%tjoin(tselftignore_discardtignore_expirestnowtrR"((s%/usr/lib64/python2.7/_LWPCookieJar.pyt as_lwp_str>s cCs�|dkr6|jdk r'|j}q6tt��nt|d�}z*|jd�|j|j||��Wd|j�XdS(Ntws#LWP-Cookies-2.0 (Rtfilenamet ValueErrorRtopentwriteR0tclose(R+R2R,R-tf((s%/usr/lib64/python2.7/_LWPCookieJar.pytsaveNs cCs|j�}tj|j|�s:d|}t|��ntj�}d}d} d} ykxd|j�}|dkrzPn|j|�s�q^n|t|�j�}xt |g�D]}|d\} }i}i}x| D]}t ||<q�Wx�|dD]�\}}|dk r$|j�}nd}|| ksB|| krK|}n|| kry|dkrlt }n|||<q�|| kr�|||<q�|||<q�W|j}|d�}|d�}|dk r�t|�}n|dkr�t }n|d�}|jd�}t|d�| ||d �|d�|||d�|d �|d�|d�|||d �|d�|�}|r�|jr�q�n|r�|j|�r�q�n|j|�q�Wq^WWnAtk r��n.tk rt�td||f��nXdS(Ns5%r does not look like a Set-Cookie3 (LWP) format filesSet-Cookie3:R RRRRRRR R RRRR'iit.s&invalid Set-Cookie3 format file %r: %r(R RRRR(RRR R RRR(treadlinetretsearchtmagic_reRR(t startswithtlentstripRtFalseRtlowertTruetgetRRRR)t set_cookietIOErrort ExceptionR(R+R7R2R,R-tmagictmsgR.theadert boolean_attrstvalue_attrstlinetdataRRtstandardtrestR$tvtlcR#RRR tdomain_specifiedtc((s%/usr/lib64/python2.7/_LWPCookieJar.pyt_really_load]s� N( t__name__t __module__t__doc__RCR0RRAR8RU(((s%/usr/lib64/python2.7/_LWPCookieJar.pyR&1s(RXR(R;t cookielibRRRRRRRRRR%R&(((s%/usr/lib64/python2.7/_LWPCookieJar.pyt<module>s@
/home/./../lib64/mysql/././../python2.7/./ensurepip/./../unittest/../_LWPCookieJar.pyo