Skip to content
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

#296 ClientConnectorSSLError and attachment filenames bugs fix #297

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

symphony-soufiane
Copy link
Contributor

@symphony-soufiane symphony-soufiane commented Jun 23, 2022

Description

Replaced client_auth purpose with server_auth in ssl context creation in order to authenticate web servers. This fix the ssl context issue with Python 3.10.
For the same occasion, we updated rest.py generated code to use a DataForm that does not encode attachment files. aioHttp dataForm object always encodes attachments filenames in utf-8 by default.

Closes #296

Replaced client_auth purpose with server_auth in ssl context creation in order to authenticate web servers. This fix the ssl context issue with Python 3.10.
For the same occasion, we updated rest.py generated code to use a DataForm that does not encode attachment files. aioHttp dataForm object always encodes attachments filenames in utf-8 by default.
@symphony-soufiane symphony-soufiane requested a review from a team June 23, 2022 15:05
Copy link
Contributor

@yinan-symphony yinan-symphony left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@symphony-soufiane symphony-soufiane merged commit 70137a8 into finos:main Jun 24, 2022
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.

Python 3.10 ClientConnectorSSLError
2 participants