mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-02 20:48:53 +00:00
Try to clarify.
This commit is contained in:
parent
2a2ab1ead7
commit
b952e738dd
@ -210,8 +210,10 @@ class StorageClientImmutables(object):
|
|||||||
headers=Headers(
|
headers=Headers(
|
||||||
{
|
{
|
||||||
# The range is inclusive, thus the '- 1'. '*' means "length
|
# The range is inclusive, thus the '- 1'. '*' means "length
|
||||||
# unknown", which isn't technically true but adding it just
|
# unknown", which isn't technically true but it's not clear
|
||||||
# makes things slightly harder for calling API.
|
# there's any value in passing it in. The server has to
|
||||||
|
# handle this case anyway, and requiring share length means
|
||||||
|
# a bit more work for the calling API with no benefit.
|
||||||
"content-range": [
|
"content-range": [
|
||||||
"bytes {}-{}/*".format(offset, offset + len(data) - 1)
|
"bytes {}-{}/*".format(offset, offset + len(data) - 1)
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user