Skip to content

Conversation

Stirreg
Copy link

@Stirreg Stirreg commented Jun 10, 2019

Updating s3 XML response message parsing in order to allow unordered responses while still returning the correct s3ObjectLocation value.

Currently the first child of the first element is assumed to be the location of the s3 object. The s3 alternative Minio does have the same elements, but not in the same order.
In order to support both Minio and potential future changes in the s3 response a more targeted approach is suggested in this pull request.

Parsing changes based on:

C&c very welcome.

…responses while still returning the correct s3ObjectLocation value.
@inventionlabsSydney
Copy link

@Stirreg thanks for this! I've also got a similar pr to allow 204 from minio #461 might try and merge with yours.

@Stirreg
Copy link
Author

Stirreg commented Jun 11, 2019

@Stirreg thanks for this! I've also got a similar pr to allow 204 from minio #461 might try and merge with yours.

Awesome, please do @inventionlabsSydney :)

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

Successfully merging this pull request may close these issues.

2 participants