Why’s urllib so extra? For python3 get response code from urllib, you’re not missing much—it’s just verbose.
Pro tip: if you’re on Linux, `httpie` in terminal is golden for quick checks:
```bash
http --headers GET https://example.com | grep HTTP
```
No Python, no problem.
Pro tip: if you’re on Linux, `httpie` in terminal is golden for quick checks:
```bash
http --headers GET https://example.com | grep HTTP
```
No Python, no problem.
