On Wednesday, 2 May 2018 at 16:58:35 UTC, IntegratedDimensions
wrote:
On Wednesday, 2 May 2018 at 03:03:19 UTC, ikod wrote:
On Wednesday, 2 May 2018 at 00:04:49 UTC, IntegratedDimensions
wrote:
On Tuesday, 1 May 2018 at 23:35:42 UTC, Arun Chandrasekaran
wrote:
[...]
Ok, first try:
Unhandled exception: object.Exception can't complete call to
TLS_method at requests\ssl_adapter.d(248)
which says it can't find the lib. I renamed ssleay32.dll to
libssl32.dll and it then passed. I am getting http 404 error
though ;/
I turned off cert though, which may be the reason, I have no
idea. Seems to be working through.
Did you try to use full path to cacert.pem?
That seemed to work. Why would it not look in the current
directory by default? Maybe something to add?
Not sure about curl, but dlang-requests just pass filename as-is
to libssl. I think that if you have cert file in current
directiry, and use no path in call to sslSetCertFile it should
work. If not - please post bugreport to
github.com/ikod/dlang-requests
PS. I'll check and add ssleay32 to search names for dynamic ssl
library load.