Skip to content

remove_objects generates invalid XML #1185

@cuu508

Description

@cuu508

The remove_objects method generates a XML request which includes the following: <Quiet>True</Quiet>. I suspect the boolean value should not be capitalized, it should be true.

The AWS documentation for the DeleteObjects call describes the "Quiet" field as boolean.

The XML schema spec says the boolean datatype should have lowercase values – true|false.

I've been testing minio-py with Scaleway and OVH object storage, and both rejected the uppercase True. When I patched my local minio-py copy to not put the Quiet field in the request XML, the remove_objects calls worked as expected with both Scaleway and OVH.

PS. After I reported the issue, Scaleway have already fixed their S3 interface to accept <Quiet>True</Quiet>, and OVH is working on it. Still, it would be good to fix minio-py to send lowercase true|false, so it works with with other S3 implementations too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions