Disable strict_slashes for Flask so that S3 works in server mode.

This commit is contained in:
Steve Pulec 2016-12-03 18:59:28 -05:00
commit 2c6a967f45
2 changed files with 2 additions and 3 deletions

View file

@ -21,9 +21,7 @@ url_paths = {
'{0}/$': S3ResponseInstance.bucket_response,
# subdomain key of path-based bucket
'{0}/(?P<key_or_bucket_name>[^/]+)$': ambiguous_response1,
# subdomain key of path-based bucket
'{0}/(?P<key_or_bucket_name>[^/]+)/$': ambiguous_response2,
'{0}/(?P<key_or_bucket_name>[^/]+)/?$': S3ResponseInstance.ambiguous_response,
# path-based bucket + key
'{0}/(?P<bucket_name_path>[^/]+)/(?P<key_name>.+)': S3ResponseInstance.key_response,
}