ok
Direktori : /proc/self/root/proc/thread-self/root/usr/lib64/python2.7/site-packages/M2Crypto/ |
Current File : //proc/self/root/proc/thread-self/root/usr/lib64/python2.7/site-packages/M2Crypto/m2urllib2.pyc |
� z\Vc @ s d Z d d l Z d d l Td d l Z d d l Z d d l Z d e j f d � � YZ d e f d � � YZ d d � Z d S( s� M2Crypto enhancement to Python's urllib2 for handling 'https' url's. Code from urllib2 is Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Python Software Foundation; All Rights Reserved Summary of changes: - Use an HTTPSProxyConnection if the request is going through a proxy. - Add the SSL context to the https connection when performing https_open. - Add the M2Crypto HTTPSHandler when building a default opener. i����N( t *t _closing_fileobjectc B s e Z d Z d � Z d � Z RS( s� socket._fileobject that propagates self.close() to the socket. Python 2.5 provides this as socket._fileobject(sock, close=True). c C s t j j | | � d S( N( t sockett _fileobjectt __init__( t selft sock( ( s8 /usr/lib64/python2.7/site-packages/M2Crypto/m2urllib2.pyR s c C s'