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

python codegen makes HTTPSConnection on http scheme #673

Open
linehrr opened this issue Feb 15, 2023 · 0 comments
Open

python codegen makes HTTPSConnection on http scheme #673

linehrr opened this issue Feb 15, 2023 · 0 comments

Comments

@linehrr
Copy link

linehrr commented Feb 15, 2023

Describe the bug
python codegen generates the HTTPSConnection when the url is http scheme.

To Reproduce
use python codegen based on http.client lib.
and the url is the http scheme.
see details on the screenshot.

Expected code snippet and corresponding request
it's supposed to be http.client.HTTPConnection instead of http.client.HTTPSConnection

Screenshots
image
image

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

No branches or pull requests

1 participant