[Python-bugs-list] [ python-Bugs-576711 ] Windows binary missing SSL

noreply@sourceforge.net noreply@sourceforge.net
Tue, 02 Jul 2002 19:50:21 -0700


Bugs item #576711, was opened at 2002-07-02 22:10
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=576711&group_id=5470

Category: Windows
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Dave Schuyler (parameter)
>Assigned to: Mark Hammond (mhammond)
Summary: Windows binary missing SSL

Initial Comment:
The Windows binary build from www.python.org appears to 
be missing SSL support (-DUSE_SSL ?).  Please consider 
including SSL/HTTPS support "out of the box" for Windows 
users.

Here's an example of what I tried (although I changed the 
server name):

Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit 
(Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> import httplib
>>> conn=httplib.HTTPSConnection
("some.secure.server.com")
>>> conn.request("GET", "/index.php")
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in ?
    conn.request("GET", "/index.php")
  File "C:\Python22\lib\httplib.py", line 537, in request
    self._send_request(method, url, body, headers)
  File "C:\Python22\lib\httplib.py", line 553, in _send_request
    self.putrequest(method, url)
  File "C:\Python22\lib\httplib.py", line 453, in putrequest
    self.send(str)
  File "C:\Python22\lib\httplib.py", line 395, in send
    self.connect()
  File "C:\Python22\lib\httplib.py", line 688, in connect
    ssl = socket.ssl(realsock, self.key_file, self.cert_file)
AttributeError: 'module' object has no attribute 'ssl'


----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2002-07-02 22:50

Message:
Logged In: YES 
user_id=31435

Mark, does this interest you?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=576711&group_id=5470