Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib/python2.7/site-packages/ndg/httpsclient/ |
| [Home] [System Details] [Kill Me] |
�
���Oc@s�dZdZdZdZdZdZdZddlZdd lm Z m
Z
mZmZm
Z
mZmZmZmZdd
lmZeje�Zd�ZdS(sTurllib2 style build opener integrates with
HTTPSConnection class from this
package.
sP J Kershaws21/12/10s2(C) 2011 Science and Technology Facilities
Councils-BSD - see LICENSE file in top-level
directorysPhilip.Kershaw@stfc.ac.uks$Id$i����N( tProxyHandlertUnknownHandlertHTTPDefaultErrorHandlert
FTPHandlertFileHandlertHTTPErrorProcessortHTTPHandlertOpenerDirectortHTTPRedirectHandler(tHTTPSContextHandlercskddl��fd�}t�}tttttttt g}t
|�}|jt�g}xl|D]d}x[|D]S}||�r�t
||�r�|j|�q�qut||�ru|j|�ququWqhWx-|D]%}||kr�|j|��q�q�W|jd�} t|kr1|jt| ��nx3|D]+}
||
�rV|
�}
n|j|
�q8W|S(sCreate an opener object from a list of handlers.
The opener will use several default handlers, including support
for HTTP and FTP.
If any of the handlers passed as arguments are subclasses of the
default handlers, the default handlers will not be used.
i����Ncst|�j�pt|d�S(Nt __bases__(t
isinstancet ClassTypethasattr(tobj(ttypes(sH/usr/lib/python2.7/site-packages/ndg/httpsclient/urllib2_build_opener.pytisclassstssl_context(RRRRRRRRRRtlisttappendR t
issubclassRtadd_handlertget(thandlerstkwRtopenertdefault_classest
check_classestskiptklasstcheckRth((RsH/usr/lib/python2.7/site-packages/ndg/httpsclient/urllib2_build_opener.pytbuild_openers6
(t__doc__t
__author__t__date__t
__copyright__t__license__t__contact__t__revision__tloggingturllib2RRRRRRRRRtndg.httpsclient.httpsR t getLoggert__name__tlogR
(((sH/usr/lib/python2.7/site-packages/ndg/httpsclient/urllib2_build_opener.pyt<module>s@