-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AIOHTTPTransport ssl=False by default #529
Comments
That's pretty bad... Thanks for your report. The annoying thing is that there are probably some people which are depending on this and changing the default will be a breaking change for them. A major version bump will be needed to fix this. |
yes, there must be a breaking change.. but a patch release could contain a warning:
|
Good idea! |
Note that for the warning, the default value cannot be That's because there was a change in aiohttp from version 3.10 Before aiohttp 3.10, aiohttp was using So, someone could have used We could use another default value, like the "warning" string? |
good point. Default string value sounds good enough or it could be a predefined sentinel = object() |
Common problems
To Reproduce
Expected behavior
Expect connection to fail when using not trusted certificates
System info (please complete the following information):
The text was updated successfully, but these errors were encountered: