Allows leading // for mocked s3 paths (#1637).
This commit is contained in:
parent
3a5d857a60
commit
e0304bc500
3 changed files with 32 additions and 2 deletions
|
|
@ -15,4 +15,6 @@ url_paths = {
|
|||
'{0}/(?P<key_or_bucket_name>[^/]+)/?$': S3ResponseInstance.ambiguous_response,
|
||||
# path-based bucket + key
|
||||
'{0}/(?P<bucket_name_path>[^/]+)/(?P<key_name>.+)': S3ResponseInstance.key_response,
|
||||
# subdomain bucket + key with empty first part of path
|
||||
'{0}//(?P<key_name>.*)$': S3ResponseInstance.key_response,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue