<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV>
<P><FONT size=2><SPAN class=811281709-31032005>On the same machine, m</SPAN>y
script works in python 2.3.4 outside of zope, but it doesn't work in python
2.3.4 within zope as an external script. There I get <SPAN
class=811281709-31032005>"</SPAN>sslerror: The read operation has timed
out.<SPAN class=811281709-31032005>"</SPAN></FONT></P>
<P><FONT size=2><SPAN class=811281709-31032005>Here's the
script:</SPAN></FONT></P>
<P><FONT size=2><SPAN class=811281709-31032005> import httplib,
urllib<BR> Action = 'Create'<BR> CreateFunction = 'Create using
Function'<BR> WLP = '123'<BR> WLPPW = '456'<BR> params =
urllib.urlencode({'CreateFunction':CreateFunction, 'Action':Action, 'WLP':WLP,
'WLPPW':WLPPW, 'ClientLoginId':ClientLoginID,
'ClientPassword':'ClientPassword'})<BR> headers = {"Content-type":
"application/x-www-form-urlencoded", "Accept": "text/plain"}<BR>conn =
httplib.HTTPSConnection("xxxxx.xxxx.com")<BR>conn.request("POST",
"/ClientReg.asp", params, headers)<BR> response =
conn.getresponse()<BR> data = response.read()</SPAN></FONT></P>
<P><FONT size=2><SPAN class=811281709-31032005>print data</SPAN></FONT><FONT
size=2><SPAN class=811281709-31032005><BR>conn.close()<BR></SPAN></FONT><FONT
size=2><SPAN class=811281709-31032005></SPAN></FONT></P>
<P><FONT size=2><SPAN class=811281709-31032005><FONT face=Arial>Why I am I
getting different response from within Zope versus
without?</FONT></SPAN></FONT></P>
<P><FONT size=2><SPAN class=811281709-31032005><FONT
face=Arial></FONT></SPAN></FONT> </P>
<P><FONT size=2><SPAN class=811281709-31032005><FONT
face=Arial>Thanks,</FONT></SPAN></FONT></P>
<P><FONT size=2><SPAN class=811281709-31032005><FONT
face=Arial>Joshua</FONT></SPAN></FONT><FONT size=2><SPAN
class=811281709-31032005></P></SPAN></FONT></DIV></BODY></HTML>