From: Brian Warner Date: Thu, 15 Jan 2009 01:08:03 +0000 (-0700) Subject: webapi.txt: explain POST /uri/?t=upload, thanks to Toby Murray for the catch X-Git-Tag: allmydata-tahoe-1.3.0~192 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/install.html?a=commitdiff_plain;h=4334ee056b9d978667e2a22a8ef89d8610d1f6e2;p=tahoe-lafs%2Ftahoe-lafs.git webapi.txt: explain POST /uri/?t=upload, thanks to Toby Murray for the catch --- diff --git a/docs/frontends/webapi.txt b/docs/frontends/webapi.txt index 330ebfdc..8cc9288f 100644 --- a/docs/frontends/webapi.txt +++ b/docs/frontends/webapi.txt @@ -670,6 +670,11 @@ POST /uri/$DIRCAP/[SUBDIRS../]FILENAME?t=upload POST /uri/$FILECAP?t=upload + This modifies the contents of an existing mutable file in-place. An error is + signalled if $FILECAP does not refer to a mutable file. It behaves just like + the "PUT /uri/$FILECAP" form, but uses a POST for the benefit of HTML forms + in a web browser. + === Attaching An Existing File Or Directory (by URI) === POST /uri/$DIRCAP/[SUBDIRS../]?t=uri&name=CHILDNAME&uri=CHILDCAP