HTTPS: Difference between revisions

m
Line 240:
 
local fn GET_HTTPS
CFStringRef htmlresponse = unix @"curl -ksL https://sourceforge.net/"
CFDataRef dta = fn StringData( htmlresponse, NSUTF8StringEncoding )
CFDictionaryRef options = @{NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType, NSCharacterEncodingDocumentAttribute: @(NSUTF8StringEncoding)}
CFAttributedStringRef aStr = fn AttributedStringWithHTML( dta, options )
Line 262:
}
</pre>
 
 
=={{header|Go}}==
717

edits