Closed yizhao1998 closed 2 months ago
Associated Issue For url using http protocol, python.http-client still generates conn = http.client.HTTPSConnection. Python would throw SSL error when running the script.
Generate the code snippet based on the received url protocol.
Added unit test case.
Problem
Associated Issue For url using http protocol, python.http-client still generates conn = http.client.HTTPSConnection. Python would throw SSL error when running the script.
Fix
Generate the code snippet based on the received url protocol.
Test
Added unit test case.