File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def validate_endpoint_url(endpoint: str, allow_localhost_http: bool = True) -> N
4545 if not parsed .scheme :
4646 raise ValueError (
4747 f"Invalid endpoint URL '{ endpoint } ': missing URL scheme. "
48- " Use https:// prefix for secure connections."
48+ ' Use https:// prefix for secure connections.'
4949 )
5050
5151 if parsed .scheme == 'https' :
@@ -56,13 +56,13 @@ def validate_endpoint_url(endpoint: str, allow_localhost_http: bool = True) -> N
5656 return # Allow HTTP for local development
5757 raise ValueError (
5858 f"Invalid endpoint URL '{ endpoint } ': HTTP is not allowed for remote endpoints. "
59- " AWS credentials must be transmitted over HTTPS to prevent interception. "
60- " Use https:// instead."
59+ ' AWS credentials must be transmitted over HTTPS to prevent interception. '
60+ ' Use https:// instead.'
6161 )
6262
6363 raise ValueError (
6464 f"Invalid endpoint URL '{ endpoint } ': unsupported scheme '{ parsed .scheme } '. "
65- " Only HTTPS is supported for secure credential transmission."
65+ ' Only HTTPS is supported for secure credential transmission.'
6666 )
6767
6868
You can’t perform that action at this time.
0 commit comments