cleanup code.
This commit is contained in:
parent
1df454a632
commit
0df03ba409
9 changed files with 47 additions and 92 deletions
|
|
@ -11,14 +11,8 @@ url_paths = {
|
|||
'{0}/$': S3ResponseInstance.bucket_response,
|
||||
|
||||
# subdomain key of path-based bucket
|
||||
'{0}/(?P<key_name>.+)': S3ResponseInstance.response,
|
||||
|
||||
'{0}/(?P<key_or_bucket_name>.+)': S3ResponseInstance.ambiguous_response,
|
||||
|
||||
# path-based bucket + key
|
||||
'{0}/(?P<bucket_name_path>[a-zA-Z0-9\-_./]+)/(?P<key_name>.+)': S3ResponseInstance.key_response,
|
||||
|
||||
|
||||
|
||||
# '{0}/(?P<bucket_name>[a-zA-Z0-9\-_.]+)$': ro.bucket_response,
|
||||
# '{0}/(?P<bucket_name>[a-zA-Z0-9\-_.]+)/$': bucket_response2,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue