Skip to content

Commit

Permalink
fix little bug in head option
Browse files Browse the repository at this point in the history
  • Loading branch information
littleEast7 committed Dec 11, 2024
1 parent 63accf0 commit 0417707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alluxiofs/client/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ def head(self, file_path, num_of_bytes=None):
path_id=path_id,
file_path=file_path,
),
params={"numBytes": num_of_bytes},
params={"numOfBytes": num_of_bytes},
)
return b"".join(response.iter_content())
except requests.RequestException as e:
Expand Down

0 comments on commit 0417707

Please sign in to comment.