File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
localstack-core/localstack/aws/protocol Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 88
88
from werkzeug .exceptions import BadRequest , NotFound
89
89
90
90
from localstack .aws .protocol .op_router import RestServiceOperationRouter
91
- from localstack .config import LEGACY_V2_S3_PROVIDER
92
91
from localstack .http import Request
93
92
94
93
@@ -1074,11 +1073,8 @@ def _is_vhost_address_get_bucket(request: Request) -> str | None:
1074
1073
1075
1074
@_handle_exceptions
1076
1075
def parse (self , request : Request ) -> Tuple [OperationModel , Any ]:
1077
- if not LEGACY_V2_S3_PROVIDER :
1078
- """Handle virtual-host-addressing for S3."""
1079
- with self .VirtualHostRewriter (request ):
1080
- return super ().parse (request )
1081
- else :
1076
+ """Handle virtual-host-addressing for S3."""
1077
+ with self .VirtualHostRewriter (request ):
1082
1078
return super ().parse (request )
1083
1079
1084
1080
def _parse_shape (
You can’t perform that action at this time.
0 commit comments