From: SourceForge.net <no...@so...> - 2006-11-21 09:46:37
|
Feature Requests item #1599901, was opened at 2006-11-20 18:47 Message generated for change (Comment added) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360894&aid=1599901&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 29. http Package Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Jeffrey Hobbs (hobbs) Summary: Add support for PUT, DELETE, etc. Initial Comment: 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 ste...@su... ---------------------------------------------------------------------- >Comment By: Donal K. Fellows (dkf) Date: 2006-11-21 09:46 Message: Logged In: YES user_id=79902 Originator: NO Needs a TIP formally, but is a good idea. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360894&aid=1599901&group_id=10894 |