Https

Alex Tweedly alex at tweedly.net
Mon Sep 13 12:29:35 EDT 2004


At 16:40 13/09/2004 +0100, Dave Cragg wrote:


>On 13 Sep 2004, at 14:59, Frank Leahy wrote:
>>
>>What about the switch being on a per request basis, i.e. not a global?
>
>If it could be set as a parameter to a "get url" call then it would 
>probably be a good idea. But the "get" syntax is fixed by the engine, so 
>there's not much I can do about that.
>
>So two commands would always be needed:
>
>   liburlSetSSLVerification false
>   get url "https://whatever"
>
>I don't think there is any precedent for resetting a property that has 
>been set by a user, and I'd be reluctant to do it here.

Isn't libURLSetCustomHTTPHeaders a precedent for this ?

Docs say

>The libURLSetCustomHTTPHeaders setting takes effect for the next HTTP 
>transaction. After the transaction, the headers are set back to the 
>default. This means that if you want to do multiple HTTP transactions 
>using the same set of custom headers, you must use the 
>libURLSetCustomHTTPHeaders command before each transaction.

-- Alex.



More information about the use-livecode mailing list