<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Lazarus – macOS – Download een bestand (HTTPS) zonder OpenSSL - Delphi, Lazarus, Free Pascal				            </title>
            <link>https://www.tweaking4all.nl/forum/delphi-lazarus-free-pascal/lazarus-macos-download-een-bestand-https-zonder-openssl/</link>
            <description>Tweaking4All.nl Discussie Forum</description>
            <language>nl-NL</language>
            <lastBuildDate>Thu, 15 Oct 2026 05:42:29 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Lazarus – macOS – Download een bestand (HTTPS) zonder OpenSSL</title>
                        <link>https://www.tweaking4all.nl/forum/delphi-lazarus-free-pascal/lazarus-macos-download-een-bestand-https-zonder-openssl/#post-1601</link>
                        <pubDate>Wed, 05 Oct 2022 11:04:42 +0000</pubDate>
                        <description><![CDATA[]]></description>
                        <content:encoded><![CDATA[113
114]]></content:encoded>
						                            <category domain="https://www.tweaking4all.nl/forum/delphi-lazarus-free-pascal/">Delphi, Lazarus, Free Pascal</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.nl/forum/delphi-lazarus-free-pascal/lazarus-macos-download-een-bestand-https-zonder-openssl/#post-1601</guid>
                    </item>
				                    <item>
                        <title>Lazarus – macOS – Download een bestand (HTTPS) zonder OpenSSL</title>
                        <link>https://www.tweaking4all.nl/forum/delphi-lazarus-free-pascal/lazarus-macos-download-een-bestand-https-zonder-openssl/#post-497</link>
                        <pubDate>Thu, 05 Dec 2019 12:22:59 +0000</pubDate>
                        <description><![CDATA[In een voorgaande post liet ik zien voor Windows hoe je met HTTPS een bestand kunt downloaden zonder OpenSSL nodig te hebben.Voor macOS hebben we hier ook een trucje voor, zeker nu Apple het...]]></description>
                        <content:encoded><![CDATA[<p>In een voorgaande post liet ik zien voor Windows hoe je met HTTPS een bestand kunt downloaden zonder OpenSSL nodig te hebben.<br>Voor macOS hebben we hier ook een trucje voor, zeker nu <a href="https://developer.apple.com/library/archive/documentation/Security/Conceptual/cryptoservices/SecureNetworkCommunicationAPIs/SecureNetworkCommunicationAPIs.html#//apple_ref/doc/uid/TP40011172-CH13-SW3" target="_blank" rel="noopener noreferrer">Apple het sterk afraad om OpenSSL te gebruiken</a>.</p><p>Hierbij maken we gebruik van een unit van <a href="https://macpgmr.github.io/" target="_blank" rel="noopener noreferrer">Phil Hess</a>:</p><pre>uses ... ns_url_request ... // Note: "ns_url_request" uses Phil's "NSHelpers" unit.<br>&nbsp;<br>...<br>&nbsp;<br>function TForm1.GetURLContent(aURL:string):string;<br>var<br>&nbsp; HTTP: TNSHTTPSendAndReceive;<br>begin<br>&nbsp; HTTP := TNSHTTPSendAndReceive.Create;<br>&nbsp; HTTP.Method   := 'GET';<br>&nbsp; HTTP.Address  := aURL;<br>&nbsp; HTTP.SendAndReceive(Result);<br>&nbsp; HTTP.Free;<br>end;&nbsp;&nbsp;</pre><p><br></p><p>N.b.: Ik heb Phil's units hier als attachment geplaatst, maar je kunt het natuurlijk ook <a href="https://macpgmr.github.io/ObjP/nsunits-src.zip" target="_blank" rel="noopener noreferrer">direct van zijn website</a> downloaden.</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.nl/forum/delphi-lazarus-free-pascal/">Delphi, Lazarus, Free Pascal</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.nl/forum/delphi-lazarus-free-pascal/lazarus-macos-download-een-bestand-https-zonder-openssl/#post-497</guid>
                    </item>
							        </channel>
        </rss>
		