Bug Fixes
- Resolved an issue where extra arguments passed to a custom new method caused instantiation errors.
- Updated the minio_mock fixture to ensure new is properly patched and restored.
- Introduced a permanent stub for Minio.new to handle instantiation arguments correctly when restoring the patch.
- Updated _base_url to parse and normalize the endpoint URL, ensuring consistent handling of secure and non-secure connections.
Credits
Thanks to Gustavo Satheler satheler for the pull-request and to Bernd for the discussion an the review.