Tcl Source Code

View Ticket
Login
Ticket UUID: 1599901
Title: Add support for PUT, DELETE, etc.
Type: RFE Version: None
Submitter: nobody Created on: 2006-11-20 18:47:10
Subsystem: 29. http Package Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Deleted Last Modified: 2008-03-12 12:55:35
Resolution: Fixed Closed By: hobbs
    Closed on: 2008-03-12 05:55:35
Description:
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]
User Comments: hobbs added on 2008-03-12 12:55:35:
Logged In: YES 
user_id=72656
Originator: NO

in core http v2.7 (8.5.2, 8.4.19)

patthoyts added on 2006-12-09 03:12:24:
Logged In: YES 
user_id=202636
Originator: NO

We have this in the tclvfs version already

dkf added on 2006-11-21 16:46:37:
Logged In: YES 
user_id=79902
Originator: NO

Needs a TIP formally, but is a good idea.

nobody added on 2006-11-21 01:47:11:

File Added - 203650: diffs

Attachments: