|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/lib64/python2.4/site-packages/M2Crypto/ |
Upload File : |
mς
lεμPc @ 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 ( ( t8 /usr/lib64/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&