This commit is contained in:
gongwenxin
2025-05-27 03:18:14 +08:00
parent 1138668a72
commit f0cc525141
33 changed files with 4088 additions and 3619 deletions
@@ -18,7 +18,7 @@ class HTTPSMandatoryCase(BaseAPITestCase):
def modify_request_url(self, current_url: str) -> str:
parsed_url = urllib.parse.urlparse(current_url)
if parsed_url.scheme.lower() == "httpss":
if parsed_url.scheme.lower() == "https":
# 将 https 替换为 http
modified_url = parsed_url._replace(scheme="http").geturl()
self.logger.info(f"为进行HTTPS检查修改URL:原始 '{current_url}', 修改为 '{modified_url}'")