IOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil) Request.AcceptEncoding := 'text/html, deflate, gzip' // some websites don't download with this set Request.UserAgent := 'Mozilla/5.0 (compatible Googlebot/2.1 +)' Initialization code: HTTP := TIdHTTP.Create 1.8, the following procedure raises the indicated error:Ĭlass procedure EIdOpenSSLAPISSLError.RaiseExceptionCode(const AErrCode, ARetCode: TIdC_INT const AMsg: String) ' '), in the IdSSLOpenSSLHeaders unit, which is Rev. When trying to download some pages using SSL (e.g.
I'm having difficulty with some, not all, SSL pages. I'm working on an old Delphi 7 app that uses Indy 10 to download websites.