Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-03-12
12:55 • Deleted ticket [1599901fff]: Add support for PUT, DELETE, etc. plus 7 other ... artifact: a72779faea user: hobbs
2006-12-09
03:12 • Ticket [1599901fff]: 4 changes artifact: 621273ec5b user: patthoyts
2006-11-21
16:46 • Ticket [1599901fff]: 4 changes artifact: 110d8c9a3d user: dkf
01:47 • Ticket [1599901fff]: 4 changes artifact: 4e73108051 user: nobody
01:47 • Add attachment diffs to ticket [1599901fff] artifact: 897a20d127 user: nobody
2006-11-20
18:47 • New ticket [1599901fff] Add support for PUT, DELETE, etc.. artifact: 98fbd12e06 user: nobody

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: