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

Use --endpoint-url for s3/s3api commands. #836

Merged
merged 2 commits into from
Jul 3, 2014

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Jul 2, 2014

Fixes #549.

Previously, because of the fix_s3_host in botocore, the --endpoint-url wasn't being used for s3/s3api commands. The fix is to check if endpoint_url is set, and if this is an s3/s3api command, we should unregister the handler.

cc @danielgtaylor

jamesls added 2 commits July 2, 2014 16:19
Otherwise the --endpoint-url may not be honored if
the bucket is a dns compatible bucket.
@danielgtaylor
Copy link
Contributor

LGTM. My only comment would be to maybe add a note about this to the fix_s3_host handler, but it's not required. 🚢-it!

@jamesls jamesls merged commit 9352c6b into aws:develop Jul 3, 2014
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.

--endpoint-url does not seem to work for S3 requests
2 participants