Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
M2Crypto
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/M2Crypto/m2urllib2.pyc
mò kQ²Oc @ sp d Z d k Z d k Td k Z d k Z d k Z d e i 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 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. N( t *t _closing_fileobjectc B s t 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 i i | | ƒ d S( N( t sockett _fileobjectt __init__t selft sock( R R ( ( t6 /usr/lib/python2.4/site-packages/M2Crypto/m2urllib2.pyR s c C s' | i } t i i | ƒ | i ƒ d S( N( R t _sockR R R t close( R R ( ( R R s ( t __name__t __module__t __doc__R R ( ( ( R R s t HTTPSHandlerc B s&