4 ms·
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 th
by SEJeff 7y ago
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)
- OJFord 7y ago`curl --head` (short form: `-I`) is converted correctly though, and `curl -X HEAD` (or `-XHEAD`) does generate warnings telling you to use `--head`/`-I`.
- duckmysick 7y agoIn case the creator of this tool doesn't read this thread, you can report the issues on GitHub: https://github.com/NickCarneiro/curlconverter/issues https://github.com/NickCarneiro/curlconverter/issues
- greglindahl 7y agoEven if the creator of a tool does read the thread, discussions like these are not the place to report bugs.
- kissgyorgy 7y agohttps://github.com/NickCarneiro/curlconverter/issues/new https://github.com/NickCarneiro/curlconverter/issues/new