.
D 2003-12-18T22:14:38
J assignee hobbs
J cmimetype text/plain
J comment Currently,\sthe\shttp\spackage\sin\sTcl\s8.4.4\sonly\ssupport\s\nGET\sPOST\sand\sHEAD\smethod.\sIt\swill\sbe\suseful\sto\sprovide\s\nPUT\sand\sDELETE\ssupport.\sAnd\sthe\schanges\scan\sbe\s\ntrivial.\sA\ssimple\ssolution\sis\sto\shave\sa\s"-method"\soption\s\nfor\shttp::geturl.\sUsers\scan\sspecify\swhich\sHTTP\smethod\s\nto\suse.\sFor\sexample,\s\n\nhttp::geturl\shttp://abc.com/doc/1\s-method\sDELETE\n\nwill\ssend\san\sHTTP\sDELETE\srequest\sout.\n\nThe\sfollowing\sare\sthe\schanges\smade\sto\smake\sit\swork.\nThe\schanges\sare\sall\sin\shttp::geturl\sproc.\sThe\schanges\s\nare\sbased\son\shttp\s2.4.4\n\n261c262\s(this\sis\sto\schange\sthe\soptions\slist)\n<\s\s\s\s\s\s\s\s\s\s\s-validate\s-timeout\s-type}\n---\n>\s\s\s\s\s\s\s\s\s\s\s-validate\s-timeout\s-type\s-method}\n\n284a286\n>\s\s\s\s\sset\shasMethod\s[info\sexists\sstate(-method)]\n\n404a407,410\n>\s\s\s\s\s}\n>\n>\s\s\s\s\sif\s{$hasMethod}\s{\n>\s\s\s\s\sset\show\s$state(-method)
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 29.\shttp\sPackage
J title Provide\sPUT\sand\sDELETE\ssupport\sfor\shttp\spackage
J type Patch
K 862554ffffffffffffffffffffffffffffffffff
U nobody
Z 3ae1a8b7bceb3e0845981053c3156567