From 04177076bcd054388d72bbb6401736c11a5f3ab8 Mon Sep 17 00:00:00 2001 From: littleEast7 Date: Wed, 11 Dec 2024 12:06:07 +0800 Subject: [PATCH] fix little bug in head option --- alluxiofs/client/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alluxiofs/client/core.py b/alluxiofs/client/core.py index 5f09550..5aa6804 100644 --- a/alluxiofs/client/core.py +++ b/alluxiofs/client/core.py @@ -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: