Ann: TclCurl 0.8
Date: Mon, 3 Sep 2001 15:15:18 -0400
I have just released a new version of TclCurl updated for libcurl 7.8.1,
the changes since the last version are:
* New command: 'curl::transfer' it takes the same arguments as
'curl::configure' and takes care of all the transfer details,
so, for example, instead of doing:
set curlHandle [curl::init]
$curlHandle configure -url http://curl.haxx.se -file index.html
You can now simply do:
curl::transfer -url http://curl.haxx.se -file index.html
This command is limited as you can't use if you want persistant
connetions and you can't use the 'getinfo' command with the
* New options to configure:
Use it to set a Tcl procedure that will be invoked by
TclCurl as soon as there is received data that needs
to be written down.
Sets a Tcl procedure to be called by TclCurl as soon as
it needs to read data in order to send it to the peer.
If set to non-zero forces the HTTP request to get back
to GET. Only really usable if POST, PUT or a custom request
have been used previously with the same curl handle.
Set to non-zero if we should verify the Common name from the
peer certificate in the SSL handshake, set 1 to check
existence, 2 to ensure that it matches the provided hostname.
* Bug fix:
* Using TclCurl to upload a file should not cause any more seg faults.
You can find it at:
Received on 2001-09-03