We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac1b75 commit d423e00Copy full SHA for d423e00
swift3/request.py
@@ -622,9 +622,6 @@ def _is_allowed_anonymous_request(self):
622
623
Will return False if anonymous requests are disabled by configuration.
624
"""
625
- if not CONF.allow_anymous_path_request:
626
- return False
627
-
628
if not self._is_anonymous:
629
return False
630
@@ -640,7 +637,7 @@ def _is_allowed_anonymous_request(self):
640
637
# Not an S3 request
641
638
642
639
# Path-style anonymous request
643
- return True
+ return CONF.allow_anymous_path_request
644
645
def _parse_auth_info(self):
646
"""Extract the access key identifier and signature.
0 commit comments