HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python2.7/dist-packages/mercurial/url.pyc

Xc@@sddlmZddlZddlZddlZddlmZddlmZm	Z
mZmZm
Z
e
jZe
jZe
jZe
jZdefdYZdejfd	YZd
Ze
jedZdejfd
YZ	dZdZdejfdYZer_dejfdYZdejejfdYZndej fdYZ dej!fdYZ!gZ"ddZ$ddZ%dS(i(tabsolute_importNi(t_(terrorthttpconnectiont	keepalivetsslutiltutiltpasswordmgrcB@s5eZdZdZdZdZdZRS(cC@s||_||_dS(N(tuitpasswddb(tselfRR	((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt__init__s	cC@s|jj||||S(N(R	tadd_password(R
trealmturitusertpasswd((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyR#sc
C@s|jj||}|\}}|rG|rG|j||||fS|sU|rtj|j||}|r|\}}|jd|jd}}|jjd|qn|s|rtj	|}	d|	_|jjst
jtdtjt|	n|jjtdtjt|	|jjtd||r~|jjtd|n|jjtdd	d}|s|jj}qn|jj|||||j||||fS(
Ntusernametpasswords#using auth.%s.* for authentication
s"http authorization required for %ss#http authorization required for %s
s
realm: %s
s	user: %s
suser:tdefault(R	tfind_user_passwordt_writedebugthttpconnectionmodtreadauthforuriRtgettdebugRturltNonetquerytinteractiveRtAbortRthidepasswordtstrtwritetprompttgetpassR(
R
R
tauthuritauthinfoRRtrestgrouptauthtu((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyR&s8
	cC@s@td}|jj|||r1dt|p4dfdS(Ns http auth: user %s, password %s
t*snot set(RRRtlen(R
RRtmsg((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRIscC@s|jjd|S(N(R	RR(R
R$((s1/usr/lib/python2.7/dist-packages/mercurial/url.pytfind_stored_passwordMs(t__name__t
__module__RRRRR-(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRs
			#	tproxyhandlercB@seZdZdZRS(cC@s|jddptjd}|r|jdpB|jdsVd|d}ntj|}|js|jdd|_|jdd|_nd	d
g}|jg|j	ddD]}|j
^q|jgtjdd
jdD]$}|jr|jj
^q|j
ddrDg|_n	||_t|}i|d6|d6}|jd|j|jfni}|jddrxNdddgD]:}y |tjkrtj|=nWqtk
rqXqWntjj||||_dS(Nt
http_proxythostshttp:shttps:shttp://t/RRt	localhosts	127.0.0.1tnotno_proxytt,talwaysthttpthttpssproxying through http://%s:%s
t
HTTP_PROXY(tconfigtostgetenvt
startswithRRRRtextendt
configlisttlowertsplittstript
configbooltno_listR RR2tporttenvirontOSErrorturlreqR0RR(R
RtproxyurltproxyRGtptproxiestenv((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRQs@!		)	%		
cC@s|jjdd}xm|jD]b}||kr9dS|jdr_|j|dr_dS|jdr#|j|dr#dSq#Wtjj||||S(Nt:is*.it.i(	tget_hostRDRGRR@tendswithRKR0t
proxy_open(R
treqRMttype_R2te((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRUs""(R.R/RRU(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyR0Ps	0c@sfd}|S(Nc@sZt|tjrI|jdx4tj|D]}||q/Wn
||dS(Ni(t
isinstanceRthttpsendfiletseekRt
filechunkiter(R
tdatatchunk(torgsend(s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt	_sendfiles

((R_R`((R_s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt
_gen_sendfiles	thttpshandlerRcB@s#eZeejjZdZRS(cC@sKt|dd}|r;|jr.|jnd|_|Stjj|S(Ntproxyres(tgetattrRt
will_closetcloseRcRtHTTPConnectiontgetresponse(R
Rc((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRhs	
	(R.R/RaRRgtsendRh(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRscC@st|dd}|r>|d d	kr5d|}nt}n|j}t}|sh||jkrtj|}|s|jdkrdj	|j
|jpdg|_|j
j|_
|j
j|jjdSnd|_d|_
dS(
Nt_tunnel_hostishttp://shttps:/shttps://R;RQt443(shttp://shttps:/(RdRtTruetget_selectortFalsetget_full_urlRRtschemetjoinR2RHtrealhostporttheaderstcopytupdatetparentt
addheaders(thandlerthRVttunnel_hostt
new_tunnelR)((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt_generic_start_transactions 
	$	c	@setg|jD].}|jjdr
||j|f^q
}|jd|jx%|jD]}|jd|qeW|jd|j|jd|j	d|j
xNtrj\}}}|t
jkrPnttfddqW|_|j_jd	krFttjjdtS|d
kr^d_nB|jdryd
_n'|dkrd_nt
j|jdkrd_d_d_t
jt_tSt
jj_dj_jj d}|rC|jdkrCd_d_!n	d_j"_jj d}|rjryt#|_Wnt$k
rd_qXjdkrd_qn	d_|t
j%ks|t
j&ksd|ko	d	knsj
dkr)d_njrXjrXjdkrXd_n|_'tS(Nsproxy-sCONNECT %s HTTP/1.0
s%s: %s
s
tstricttmethodc@sjjjS(N(tfptreadlineRE((R&(s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt<lambda>sR7isHTTP/1.0i
sHTTP/1.isHTTP/0.9i	iistransfer-encodingtchunkedscontent-lengthidtHEAD((tdictRsRCR@RiRrt	iteritemstresponse_classtsockR}t_methodRlt_read_statusthttplibtCONTINUEtlisttitertstatusREtreasonRRtversiontUnknownProtocolRtlengthRRetHTTPMessagetstringioR,Rnt	getheadert
chunk_leftt_check_closetintt
ValueErrort
NO_CONTENTtNOT_MODIFIEDRc(	R
txtproxyheaderstheaderRRRttrencR((R&s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt_generic_proxytunnelsx1
		 						

	

	thttphandlercB@seZdZdZRS(cC@s|jt|S(N(tdo_openR(R
RV((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt	http_openscC@s&t|||tjj|||S(N(R|RtHTTPHandlert_start_transaction(R
RyRV((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyR s(R.R/RR(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRs	thttpsconnectioncB@sVeZejZejZeej	Z
ejejZ
ddddZdZRS(cO@s2tjj|||||||_||_dS(N(RRgRtkey_filet	cert_file(R
R2RHRRtargstkwargs((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyR,s	cC@stj|j|jf|_|j}|jrVt||jjddd}ntj	|j|j
|jd|jd||_tj
|jdS(NRQiiRtserverhostname(tsockettcreate_connectionR2RHRRrRtrsplitRt
wrapsocketRRRtvalidatesocket(R
R2((s1/usr/lib/python2.7/dist-packages/mercurial/url.pytconnect2s		
N(R.R/RtHTTPResponseRRt
HTTPS_PORTtdefault_portRatsafesendRitwrapgetresponseRgRhRRR(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyR%s		cB@s/eZdZdZdZddZRS(cC@sHtjj|tjj|||_t|j|jj|_dS(N(	RtKeepAliveHandlerRRKRbRRthttppasswordmgrdbtpwmgr(R
R((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyR?s
		cC@s&t|||tjj|||S(N(R|RRR(R
RyRV((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRFscC@s|j}|jj|\}}tj|j||}|rn|\}}||_|jjd|n	d|_|j	|j
|S(Ns#using auth.%s.* for authentication
(RoRR-RRRR(RRRt_makeconnection(R
RVRRRR&R'R(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt
https_openJs		cO@sd}d}t|dkr+|d}nt|dkrJ|d}n|d}|jrd|jkrd|jkr|jd}|jd}nt||||||}|j|_|S(Niiitkeytcert(RR+R(RR(R
R2RHRRtkeyfiletcertfiletconn((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRXs


'
	N(R.R/RRRRR(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRb>s			thttpdigestauthhandlercB@s#eZdZdZdZRS(cO@s#tjj|||d|_dS(N(RKRRRtretried_req(R
RR((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRnscC@sdS(N((R
((s1/usr/lib/python2.7/dist-packages/mercurial/url.pytreset_retry_countrscC@s@||jk	r$||_d|_ntjj|||||S(Ni(RtretriedRKRthttp_error_auth_reqed(R
tauth_headerR2RVRs((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRxs
		(R.R/RRR(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRms		thttpbasicauthhandlercB@s>eZdZdZdZdZdZdZRS(cO@s,d|_tjj|||d|_dS(N(RR(RKRRR(R
RR((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRs	cC@s&|jr"|j|j|jn|S(N(R(tadd_unredirected_headerR(R
trequest((s1/usr/lib/python2.7/dist-packages/mercurial/url.pythttp_requests	cC@s&|jr"|j|j|jn|S(N(R(RR(R
R((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt
https_requests	cC@sdS(N((R
((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRscC@s@||jk	r$||_d|_ntjj|||||S(Ni(RRRKRR(R
RR2RVRs((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRs
		cC@s|jj||j\}}|dk	rd||f}dtj|j}|j|jd|krudS||_	|j
|j||jj|SdSdS(Ns%s:%ssBasic %s(
RRRoRtbase64t	b64encodeREt
get_headerRR(RRvtopen(R
R2RVR
RtpwtrawR(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pytretry_http_basic_auths!	(R.R/RRRRRR(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRs					c
C@s|jddtr9tj|t||jg}n(tg}tra|jt	|n|jt
|t||j}|dk	r|\}}}}|j|d\}}	||ks|r|j
||||n|jd||r
dt|p
dfn|jt|t|f|jgtD]}
|
||^qDtj|}dtj}d|fg|_|jjd|S(
se
    construct an opener suitable for urllib2
    authinfo will be added to the password manager
    Rtusehttp2is http auth: user %s, password %s
R*snot sets"mercurial/proto-1.0 (Mercurial %s)s
User-agenttAcceptsapplication/mercurial-0.1N(Rsapplication/mercurial-0.1(RFRnRthttp2handlerRRRt	has_httpstappendRbR0RR-RRR+RARRthandlerfuncsRKtbuildopenerRRRw(
RR%thandlerstpassmgrR
turisRRt	savedusert	savedpassRytopenertagent((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRs0	')cC@stj|}|jr?|jj|_|j\}}n4tjtjj|}dt	j
|}d}t||j
||S(Nsfile://(RRRpRCR%tnormpathR>tpathtabspathRKtpathname2urlRRR(Rturl_R]R)R%R((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyRs	(&t
__future__RRR>Rti18nRR7RRRRRRRRturlerrRKtobjectRR0RatsafehasattrRRgR|RRRRRRbRRRRRR(((s1/usr/lib/python2.7/dist-packages/mercurial/url.pyt<module>
s2(				2=			]"/-2