Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
13
Task/HTTPS/FutureBasic/https.basic
Normal file
13
Task/HTTPS/FutureBasic/https.basic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
include "NSLog.incl"
|
||||
|
||||
local fn GET_HTTPS
|
||||
CFStringRef response = unix @"curl -ksL https://sourceforge.net/"
|
||||
CFDataRef dta = fn StringData( response, NSUTF8StringEncoding )
|
||||
CFDictionaryRef options = @{NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType, NSCharacterEncodingDocumentAttribute: @(NSUTF8StringEncoding)}
|
||||
CFAttributedStringRef aStr = fn AttributedStringWithHTML( dta, options )
|
||||
NSLog( @"%@", aStr )
|
||||
end fn
|
||||
|
||||
fn GET_HTTPS
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue