File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -901,7 +901,7 @@ def _default_get_make_request_args(
901
901
algorithm = AwsSigningAlgorithm .V4_ASYMMETRIC ,
902
902
region = "*" ,
903
903
use_double_uri_encode = False ,
904
- should_normalize_uri_path = False
904
+ should_normalize_uri_path = False ,
905
905
)
906
906
call_args .bucket = accesspoint_arn_details ['resource_name' ]
907
907
elif is_s3express_bucket (call_args .bucket ):
@@ -910,7 +910,7 @@ def _default_get_make_request_args(
910
910
make_request_args ['signing_config' ] = AwsSigningConfig (
911
911
algorithm = AwsSigningAlgorithm .V4_S3EXPRESS ,
912
912
use_double_uri_encode = False ,
913
- should_normalize_uri_path = False
913
+ should_normalize_uri_path = False ,
914
914
)
915
915
return make_request_args
916
916
Original file line number Diff line number Diff line change @@ -163,6 +163,12 @@ def _assert_expected_s3express_request(
163
163
make_request_kwargs ['signing_config' ].algorithm ,
164
164
awscrt .auth .AwsSigningAlgorithm .V4_S3EXPRESS ,
165
165
)
166
+ self .assertFalse (
167
+ make_request_kwargs ['signing_config' ].use_double_uri_encode ,
168
+ )
169
+ self .assertFalse (
170
+ make_request_kwargs ['signing_config' ].should_normalize_uri_path ,
171
+ )
166
172
167
173
def _assert_expected_mrap_request (
168
174
self , make_request_kwargs , expected_http_method = 'GET'
@@ -179,6 +185,12 @@ def _assert_expected_mrap_request(
179
185
awscrt .auth .AwsSigningAlgorithm .V4_ASYMMETRIC ,
180
186
)
181
187
self .assertEqual (make_request_kwargs ['signing_config' ].region , "*" )
188
+ self .assertFalse (
189
+ make_request_kwargs ['signing_config' ].use_double_uri_encode ,
190
+ )
191
+ self .assertFalse (
192
+ make_request_kwargs ['signing_config' ].should_normalize_uri_path ,
193
+ )
182
194
183
195
def _assert_subscribers_called (self , expected_future = None ):
184
196
self .assertTrue (self .record_subscriber .on_queued_called )
You can’t perform that action at this time.
0 commit comments