Add support for PUT, DELETE, etc.
Deleted1599901fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 19 years ago
Descriptionplain2006-11-20 18:47:10
The following patch adds a "-method" option to geturl,
enabling the use of custom methods, other than the "GET", HEAD" and "POST" that are already supported.
Sample usage:
::http::geturl $url -method DELETE
(will delete the resource indicated by $url)
set fd [open $file]
::http::geturl $url -querychannel $fd \
-type $type -method PUT
(will upload $file to $url)
diff -u against # RCS: @(#) $Id: http.tcl,v 1.44.2.7 2006/10/23 21:01:36
[email protected]
nobodyplain2006-11-21 01:47:11
File Added - 203650: diffs
dkfplain2006-11-21 16:46:37
Logged In: YES user_id=79902 Originator: NO Needs a TIP formally, but is a good idea.
patthoytsplain2006-12-09 03:12:24
Logged In: YES user_id=202636 Originator: NO We have this in the tclvfs version already
hobbsplain2008-03-12 12:55:35
Logged In: YES user_id=72656 Originator: NO in core http v2.7 (8.5.2, 8.4.19)
Log in (anonymous is fine) to add a comment.
Attachments:
- diffs [download] added by nobody on 2006-11-21 01:47:10. [details]