Skip to main content

in reply to daniel:// stenberg://

with all due respect this sounds like a confusing cli argument design. I am the one doing it wrong :’) I personally can never remember all the #curl arguments, only the most commonly used ones, and -X is one that is easy to remember and can be used for many occasions. Maybe the solution should be to prefer -X always and a separate argument for whether the redirects should follow explicitly given method
#curl
in reply to Denis Dzyubenko

@ddenis it may be confusing, it may be "wrong", but we implemented this decades ago so changing it now would cause breakage and havoc in countless places - so we won't...
in reply to daniel:// stenberg://

@ddenis and really, most people who abuse it *adds* the option, as they already use -d, so it's rarely about actually remembering options.
in reply to daniel:// stenberg://

absolutely understandable. Curl is so ubiquitous, it is not possible to change the behavior that tons of scripts and developers rely on. Thanks for making curl ❤