Hello,
I'm stumped. I'm trying to run the following bit of code in a cgi script.
httpServ = httplib.HTTPSConnection('https://secure.authorize.net')
# connect to gateway
httpServ.connect()
# serve request
params = urllib.urlencode(fm, '|')
httpServ.request('POST', '/gateway/transact.dll', params)
# close connection
httpServ.close()
I get this error when httpSerc.connect() is called:
gaierror: (-2, 'Name or service not known')
args = (-2, 'Name or service not known')
what am I doing wrong? Thanks!
Jeff
---------------------------------
Never miss a thing. Make Yahoo your homepage.
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com