Skip to content

Commit

Permalink
fix size only issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerm-iguazio committed Feb 6, 2024
1 parent cb8fd66 commit eb497db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion v3io/dataplane/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ def encode_get_object(container_name, access_key, kwargs):
offset = kwargs.get("offset")

# if the append flag is passed, add a range header
if offset:
# offset=0 also requires a range because we may only have the size.
if offset is not None:
range_value = "bytes=" + str(offset)

num_bytes = kwargs.get("num_bytes")
Expand Down

0 comments on commit eb497db

Please sign in to comment.