]> git.sven.stormbind.net Git - sven/tclcurl.git/blobdiff - tests/verbose.tcl
Imported Upstream version 7.19.6
[sven/tclcurl.git] / tests / verbose.tcl
diff --git a/tests/verbose.tcl b/tests/verbose.tcl
new file mode 100755 (executable)
index 0000000..ab81457
--- /dev/null
@@ -0,0 +1,23 @@
+package require TclCurl
+
+set curlHandle [curl::init]
+
+$curlHandle configure -url 127.0.0.1 -verbose 1 -nobody 1
+
+
+puts "First one is verbose"
+$curlHandle perform
+
+puts "The second isn't"
+$curlHandle configure -verbose 0 
+$curlHandle perform
+
+
+$curlHandle cleanup
+
+
+
+
+
+
+