HTTP Protocol Related Improvements in Delphi 10.2.2
Posted by jpluimers on 2018/01/25
After years of (peer) pressure, Embarcadero finally did some client-side [WayBack] HTTP Protocol Related Improvements in Delphi 10.2.2.
The fixes add some features to THTTPClient that have been available in Indy since version 9 (which however requires 1.0.2 OpenSSL binaries support the required functionality):
We have added a new enumeration,
THTTPSecureProtocolwith the values (SSL2, SSL3, TLS1, TLS11, TLS12).THPPTClientand related classes have now aSecureProtocolsproperty which is a set based on that enumeration.
References:
- [WayBack] System.Net.HttpClient.THTTPSecureProtocol – RAD Studio API Documentation
- [WayBack] System.Net.HttpClient.THTTPSecureProtocols – RAD Studio API Documentation
- [WayBack] System.Net.HttpClient.THTTPClient Properties – RAD Studio API Documentation does not include
SecureProtocols(yet?) - RAD Studio/RSP-18713: Add a secure protocol options to THTTPClient (cannot be archived)
- RAD Studio/RSP-18104: THttpClient with TLS1.1 and TLS1.2 on older Windows systems (cannot be archived)
- [WayBack] Indy 9 with Delphi: How to enable TLS 1.0? – Stack Overflow
- [WayBack] Embarcadero Discussion Forums: Indy v10, TLS v1.2, and OpenSSL …
- [WayBack] delphi – Using Indy 10 IdHTTP with TLS 1.2 – Stack Overflow
- [WayBack] [SOLVED] Indy and SSL
- [WayBack] Indy 9
–jeroen






KMorwath said
Did Embarcadero get rid of the “old” convention of prefixing enumerates? It looks the new developers have very little knowledge of years of Delphi Pascal programming and its standards.
jpluimers said
Indeed: but that is sort of OK now with
{$SCOPEDENUMS ON}.