docs: tiny update to webapi.txt

I'm actually committing this just to test our patch management infrastructure.
This commit is contained in:
Zooko O'Whielacronx 2008-04-17 21:09:12 -07:00
parent 9b4a213824
commit 60eb3505f5

View File

@ -347,7 +347,7 @@ a. uploading a file and attaching it to the vdrive
the client is not obligated to do anything with the URI. According to the the client is not obligated to do anything with the URI. According to the
HTTP/1.1 specification (rfc2616), this should return a 200 (OK) code when HTTP/1.1 specification (rfc2616), this should return a 200 (OK) code when
modifying an existing file, and a 201 (Created) code when creating a new modifying an existing file, and a 201 (Created) code when creating a new
file. (TODO: as of 0.5, the web server only returns 200, never 201). file. (TODO: as of Tahoe v1.0, the web server only returns 200, never 201).
To use this, run 'curl -T localfile http://127.0.0.1:8123/vdrive/global/newfile' To use this, run 'curl -T localfile http://127.0.0.1:8123/vdrive/global/newfile'