Skip to content

s3: Use connection region to create bucket#32

Open
AbdealiLoKo wants to merge 2 commits into
noirbizarre:masterfrom
AbdealiLoKo:ajk-code
Open

s3: Use connection region to create bucket#32
AbdealiLoKo wants to merge 2 commits into
noirbizarre:masterfrom
AbdealiLoKo:ajk-code

Conversation

@AbdealiLoKo
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
Author

@noirbizarre A quick reminder about this

@AbdealiLoKo
Copy link
Copy Markdown
Author

@noirbizarre reminder on this

@arslanhashmi
Copy link
Copy Markdown

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