1 package require TclCurl
3 set curlHandle [curl::init]
5 puts "First we save the headers in 'header.txt'"
7 $curlHandle configure -noprogress 1 -nobody 1 -url "127.0.0.1" \
8 -writeheader header.txt
11 puts "And now we dump them to the console"
13 $curlHandle configure -writeheader ""