Description of changes:
This approach skips the head request when checksum verification is enabled and size_hint indicates that it is a one-part file by replacing it with a getPart request. We cancel the request if the content length of the first part is greater than part_size. This method helps us avoid extra requests for objects with content_length <= part_size.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description of changes: This approach skips the head request when checksum verification is enabled and size_hint indicates that it is a one-part file by replacing it with a getPart request. We cancel the request if the content length of the first part is greater than part_size. This method helps us avoid extra requests for objects with content_length <= part_size.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.