?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Ñò
R´…Jc @ sš d Z d d k Z d d k Z d d k Z e i i d ƒ p
e d ‚ n e i i e i i d ƒ ƒ Z e i
e i ƒ e i _
d e f d „ ƒ YZ d S( s4 A library for proxy configuration and autodetection.iÿÿÿÿNt proxys Unable to import libproxy!?!?t ProxyFactoryc B s) e Z d Z d „ Z d „ Z d „ Z RS( s} A ProxyFactory object is used to provide potential proxies to use
in order to reach a given URL (via 'getProxy(url)').
This instance should be kept around as long as possible as it contains
cached data to increase performance. Memory usage should be minimal (cache
is small) and the cache lifespan is handled automatically.
Usage is pretty simple:
pf = libproxy.ProxyFactory()
for url in urls:
proxies = pf.getProxy(url)
for proxy in proxies:
if proxy == "direct://":
# Fetch URL without using a proxy
elif proxy.startswith("http://"):
# Fetch URL using an HTTP proxy
elif proxy.startswith("socks://"):
# Fetch URL using a SOCKS proxy
if fetchSucceeded:
break
c C s t i ƒ | _ d S( N( t _libproxyt px_proxy_factory_newt _pf( t self( ( s, /usr/lib/python2.6/site-packages/libproxy.pyt __init__9 s c C s© t | ƒ t j o
t d ‚ n g } t i | i | ƒ } d } xT | | oH | i t t i | | t i ƒ i
ƒ ƒ t i | | ƒ | d 7} qD Wt i | ƒ | S( sf Given a URL, returns a list of proxies in priority order to be used
to reach that URL.
A list of proxy strings is returned. If the first proxy fails, the
second should be tried, etc... In all cases, at least one entry in the
list will be returned. There are no error conditions.
Regarding performance: this method always blocks and may be called
in a separate thread (is thread-safe). In most cases, the time
required to complete this function call is simply the time required
to read the configuration (e.g from GConf, Kconfig, etc).
In the case of PAC, if no valid PAC is found in the cache (i.e.
configuration has changed, cache is invalid, etc), the PAC file is
downloaded and inserted into the cache. This is the most expensive
operation as the PAC is retrieved over the network. Once a PAC exists
in the cache, it is merely a JavaScript invocation to evaluate the PAC.
One should note that DNS can be called from within a PAC during
JavaScript invocation.
In the case of WPAD, WPAD is used to automatically locate a PAC on the
network. Currently, we only use DNS for this, but other methods may
be implemented in the future. Once the PAC is located, normal PAC
performance (described above) applies.
s url must be a string!i i ( t typet strt TypeErrorR t px_proxy_factory_get_proxiesR t appendt ctypest castt c_char_pt valuet px_free( R t urlt proxiest arrayt i( ( s, /usr/lib/python2.6/site-packages/libproxy.pyt
getProxies<