mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-25 05:19:53 +00:00
docs: tiny update to webapi.txt
I'm actually committing this just to test our patch management infrastructure.
This commit is contained in:
parent
9b4a213824
commit
60eb3505f5
@ -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'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user