From 4334ee056b9d978667e2a22a8ef89d8610d1f6e2 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Wed, 14 Jan 2009 18:08:03 -0700
Subject: [PATCH] webapi.txt: explain POST /uri/?t=upload, thanks to Toby
 Murray for the catch

---
 docs/frontends/webapi.txt | 5 +++++
 1 file changed, 5 insertions(+)

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
-- 
2.45.2