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

s3: Use connection region to create bucket #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

s3: Use connection region to create bucket #32

wants to merge 2 commits into from

Conversation

AbdealiLoKo
Copy link

Boto3 always tries to create the bucket in US Standard (N. Virginia)
region unless explicitly mentioned. So, give it the region of the
connection so that it does raise an error about IllegalLocation.

Fixes: #31

@coveralls
Copy link

coveralls commented May 9, 2019

Coverage Status

Coverage increased (+0.3%) to 95.0% when pulling 639999c on AbdealiJK:ajk-code into 092e932 on noirbizarre:master.

S3 backend seems to set the mimetype as octet even for file.txt
So, modify the testcase to use that.
Boto3 always tries to create the bucket in US Standard (N. Virginia)
region unless explicitly mentioned. So, give it the region of the
connection so that it does raise an error about IllegalLocation.
@AbdealiLoKo
Copy link
Author

@noirbizarre A quick reminder about this

@AbdealiLoKo
Copy link
Author

@noirbizarre reminder on this

@arslanhashmi
Copy link

This package seems dead.

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.

s3: Bucket creation error
3 participants