| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-python mailing list Archives
SSL error
From: Cem Kozinoglu <ckozinoglu_at_yahoo.com>
Date: Wed, 18 Jun 2008 13:47:28 -0700 (PDT)
Hi Guys,
I am trying to write a simple code to extract some headers on an SSL page, PHP version works fine, Python version suffers from an error:
Error : <class 'pycurl.error'> (35, 'Unknown SSL protocol error in connection to atlasweb.etstur.com:443 ')
Python V2.5.2
Curl:
Pycurl: latest
Here is the code:
####################################
method = 'get'
def body_callback(buf):
c = pycurl.Curl()
c.setopt(pycurl.FOLLOWLOCATION, 1)
if ssl:
c.setopt(pycurl.USERAGENT, useragent)
c.setopt(pycurl.HEADER, 1)
if method == 'post':
c.close()
########################################
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info