GHC 2021-01-08

2 comments.

, https://git.io/JLp48 in jarun/googler
Also:

    /usr/local/opt/python/bin/python3 -c 'import ssl; print(ssl.OPENSSL_VERSION)'

, https://git.io/JLp44 in jarun/googler
Can't reproduce on same platform (`macOS-11.1-x86_64-i386-64bit`), same Homebrew Python version, and same googler version. I doubt this is on our end, or on Homebrew's Python in general. However, just to clear it up, run the following scripts and report results:

`httpclient.py`:

```python
#!/usr/local/opt/python/bin/python3
import http.client
import sys

conn = http.client.HTTPSConnection("google.com")
conn.request("GET", "https://google.com")
resp = conn.getresponse()
print(f"HTTP {resp.status}")
sys.stdout.buffer.write(resp.read())
```

`urllibrequest.py`:

```python
#!/usr/local/opt/python/bin/python3
import sys
import urllib.request

resp = urllib.request.urlopen('https://google.com')
print(f"HTTP {resp.status}")
sys.stdout.buffer.write(resp.read())
```

Make sure you use the Homebrew Python, of course (`chmod +x` the scripts then invoking them directly would take care of that).