Fix S3 to work with other regions.

This commit is contained in:
Steve Pulec 2014-07-08 20:35:48 -04:00
commit be25a2ba99
2 changed files with 12 additions and 2 deletions

View file

@ -1,7 +1,7 @@
from .responses import S3ResponseInstance
url_bases = [
"https?://(?P<bucket_name>[a-zA-Z0-9\-_.]*)\.?s3.amazonaws.com"
"https?://(?P<bucket_name>[a-zA-Z0-9\-_.]*)\.?s3(.*).amazonaws.com"
]
url_paths = {