curl-and-python
RE: curl-and-python Digest, Vol 63, Issue 1
Date: Fri, 18 Nov 2011 22:34:06 +0100 (CET)
On Fri, 18 Nov 2011, Eric Seubert wrote:
Please. If you intend to respond to mails, DON'T use the digest mode of the
mailing list. It makes everything very ugly and hard to follow.
> I am getting a syntax error on this line:
> c.setopt(pycurl.POSTFIELDSIZE_LARGE, (curl_off_t)64d)
> Namely, the 64d. I'm not sure how to translate that from c to python.
Does it really include the 'd' in there? POSTFIELDSIZE_LARGE takes a number,
the size of the data you're about to send. I would suggest you use the docs
here http://curl.haxx.se/libcurl/c/curl_easy_setopt.html to find out about
libcurl options.
> Moreover, when I run my script without that line, I am getting the following
> error: error: (60, 'SSL certificate problem, verify that the CA cert is OK.
> Details:\nerror:14090086:SSL
> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed')
Then read this => http://curl.haxx.se/docs/sslcerts.html
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-pythonReceived on 2011-11-18