From e9bdea9c499e313a237e5417b4922fb37db23215 Mon Sep 17 00:00:00 2001 From: "Bala.FA" Date: Thu, 21 Nov 2024 14:11:30 +0530 Subject: [PATCH] Pass request_headers to stat_object API from fget_object API Fixes #1295 Signed-off-by: Bala.FA --- minio/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/minio/api.py b/minio/api.py index 7c438475..47b24d30 100644 --- a/minio/api.py +++ b/minio/api.py @@ -1121,6 +1121,7 @@ def fget_object( object_name, ssec, version_id=version_id, + extra_headers=request_headers, ) etag = queryencode(cast(str, stat.etag))