idhttp

IdHttp Just Get Response Code

点点圈 提交于 2019-11-29 13:16:40
问题 I'm using idhttp (Indy) to do some website checking. All I want it to do is check the response code from the server after my request has been sent, I don't want to actually have to receive the HTML output from the server as I'm only monitoring for a 200 OK code, any other code meaning there is an issue of some form. I've looked up idhttp help documents and the only way I could see to possible do this would be to assign the code to a MemoryStream and then just clear it straight away, however

Delphi: idHttp+SSL

孤者浪人 提交于 2019-11-26 22:18:31
问题 Explain me please how to download a file from a server using SSL (https://). I have not found an appropriate answer in the Internet. Everybody says about TIdSSLIOHandlerSocket, but I have only TIdSSLIOHandlerSocketOpenSSL. I have an error 'could not load SSL library' if I use TIdSSLIOHandlerSocketOpenSSL. Some people say it needs a library, but the most even do not mention about it. Do I need to use libraries from here http://www.indyproject.org/sockets/SSL.EN.aspx ? I have those DLLs in