Convert Curl Syntax to Python Requests
Failed entirely to work on my first attempt with:    curl -XHEAD https://google.com

It is just flat out wrong on:    curl -X HEAD https://google.com

In that it does a GET request:    import requests
    
    response = requests.get('https://google.com/')

Clever idea, but my first totally valid example failed (it does OPTIONS, GET, POST, PUT, PATCH successfully)