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

Updating s3 xml response message parsing #462

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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