Another “solution” is to include the Python requests library and use that to handle http requests.
requests