Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minio.list_objects does not support request headers #1278

Open
aaron-mar opened this issue May 10, 2023 · 1 comment
Open

Minio.list_objects does not support request headers #1278

aaron-mar opened this issue May 10, 2023 · 1 comment

Comments

@aaron-mar
Copy link

I was trying to use the x-minio-extract feature to list objects in a zip file as outlined in this blog posting:

https://blog.min.io/small-file-archives/

There is a way to use this feature to get objects using the request_header parameter in Minio.get_object(), but it seems to be missing for the Minio.list_objects() method. Is there another way to use this feature for Minio.list_objects()? If not, can it be added?

@balamurugana
Copy link
Member

Feel free to send a PR like https://github.com/minio/minio-py/blob/master/minio/api.py#L2828 supporting extra_headers and extra_query_params

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants