Convert Curl Syntax to Python Requests
Failed entirely to work on my first attempt with:<p><pre><code>    curl -XHEAD https://google.com
</code></pre>
It is just flat out wrong on:<p><pre><code>    curl -X HEAD https://google.com
</code></pre>
In that it does a GET request:<p><pre><code>    import requests
    
    response = requests.get('https://google.com/')
</code></pre>
Clever idea, but my first totally valid example failed (it does OPTIONS, GET, POST, PUT, PATCH successfully)