diff options
author | hobbs <hobbs> | 2008-03-12 05:57:43 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2008-03-12 05:57:43 (GMT) |
commit | 2a8fbfca012f397ebc7a5978ce851691cc48ba7b (patch) | |
tree | 81017bbcd52d2c770896c9935385d5f3c5757dd2 /doc | |
parent | 0a7572c971ff4828a543fd4de8c92affc3d6eaaa (diff) | |
download | tcl-2a8fbfca012f397ebc7a5978ce851691cc48ba7b.zip tcl-2a8fbfca012f397ebc7a5978ce851691cc48ba7b.tar.gz tcl-2a8fbfca012f397ebc7a5978ce851691cc48ba7b.tar.bz2 |
* library/http/http.tcl (http::geturl): add -method option to support
* tests/http.test (http-3.1): http PUT and DELETE requests.
* doc/http.n: [Bug 1599901, 862554]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/http.n | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: http.n,v 1.33 2008/03/10 18:49:09 dgp Exp $ +'\" RCS: @(#) $Id: http.n,v 1.34 2008/03/12 05:57:44 hobbs Exp $ '\" .so man.macros .TH "http" n 2.5.5 http "Tcl Bundled Packages" @@ -206,6 +206,11 @@ HTTP request: Pragma: no-cache .CE .TP +\fB\-method\fR \fItype\fR +Force the HTTP request method to \fItype\fR. \fB::http::geturl\fR will +auto-select GET, POST or HEAD based on other optiosn, but this option +enables choices like PUT and DELETE for webdav support. +.TP \fB\-progress\fR \fIcallback\fR The \fIcallback\fR is made after each transfer of data from the URL. The callback gets three additional arguments: the \fItoken\fR from |