Skip to content

Conversation

adev-code
Copy link

Copy from botocore and it was merged: boto/botocore#3542

Fixes a bug where setting use_ssl=False with a custom HTTPS endpoint incorrectly downgrades the connection to HTTP. According to the documentation, when endpoint_url is provided, the use_ssl parameter should be ignored. The fix adds a check to ensure this downgrade only happens when no custom endpoint is specified, preserving the HTTPS protocol when customers explicitly provide an HTTPS URL.

)

with patch.object(resolver._provider, 'resolve_endpoint') as mock_resolve:
mock_resolve.return_value = RuleSetEndpoint(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we're missing an import that is causing this test to fail in CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants