Option parsing in #curl. Something we can start using in two years or so.
daniel.haxx.se/blog/2025/07/31…
option parsing in curl
We have always had a custom command line option parser in curl. It is fast and uncomplicated and gives us the perfect mix of flexibility and function. It also saves us from importing or using code with another license.daniel.haxx.se
Stefan Eissing
in reply to daniel:// stenberg:// • • •Dan Wing
in reply to daniel:// stenberg:// • • •Jørn
in reply to daniel:// stenberg:// • • •careful though. What does curl --proto=https do
Compare:
curl --proto https haxx.se # does cleartext http
curl --proto =https haxx.se # fails, because cleartext http not allowed
So, if you would use --proto=https, you might believe you prevented cleartext http but you didn't, I suppose you would need to do --proto==https for that.