Python requests.exception.ConnectionError: connection aborted “BadStatusLine”

The problem was with the url. This connection was meant to be established over https and I was using http in the python script. Hence the issue.

Leave a Comment