mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 09:46:18 +00:00
when you are sending a range, you use Content-Range
when you are _asking_ for a range, you use Range
This commit is contained in:
parent
2bbe51a01d
commit
113af95984
@ -168,10 +168,10 @@ TODO Verify this conclusion.
|
||||
|
||||
Write the share data to the indicated bucket.
|
||||
The request body is the raw share data (i.e., ``application/octet-stream``).
|
||||
*Range* requests are encouraged for large transfers.
|
||||
*Content-Range* requests are encouraged for large transfers.
|
||||
For example,
|
||||
for a 1MiB share the data can be broken in to 8 128KiB chunks.
|
||||
Each chunk can be *PUT* separately with the appropriate *Range* headers.
|
||||
Each chunk can be *PUT* separately with the appropriate *Content-Range* headers.
|
||||
The server must recognize when all of the data has been received and mark the bucket as filled.
|
||||
Clients should upload chunks in re-assembly order.
|
||||
Servers may reject out-of-order chunks for implementation simplicity.
|
||||
|
Loading…
x
Reference in New Issue
Block a user