Skip to content

Conversation

@laixintao
Copy link
Contributor

Hi I see you set two url schemes here:

is_virtual_host_style = is_virtual_host(endpoint_url,

But from is_virtual_host only in amazon s3 returns True. I think the first url scheme is the most common one. And Aliyun OSS only support the first url scheme.

Hope this can be merged ASAP.

return False
if 's3.amazonaws.com' in parsed_url.netloc:
return True
for host in ['s3.amazonaws.com', 'aliyuncs.com']:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@laixintao if things are working, I have no issues about this change. Can you confirm?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirmed.

Copy link
Member

@balamurugana balamurugana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per submitter confirmation.

@laixintao
Copy link
Contributor Author

Thanks!

@nitisht nitisht merged commit 2aca556 into minio:master Apr 23, 2018
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.

5 participants