Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl --head --remote-header-name https://example.com
curl: --include and --remote-header-name cannot be combined
curl: --head and --remote-header-name cannot be combined
curl 7.79.0 curl 7.79.1
FreeBSD 12.2-RELEASE
The text was updated successfully, but these errors were encountered:
curl: improve error message for --head with -J
fff9ef0
... it now focuses on the "output of headers" combined with the --remote-header-name option, as that is actually the problem. Both --head and --include can output headers. Reported-by: nimaje on github Fixes #7987
ffb6a9e
Successfully merging a pull request may close this issue.
I did this
curl --head --remote-header-name https://example.com
I got the following
curl: --include and --remote-header-name cannot be combined
I expected the following
curl: --head and --remote-header-name cannot be combined
curl/libcurl version
curl 7.79.0
curl 7.79.1
operating system
FreeBSD 12.2-RELEASE
The text was updated successfully, but these errors were encountered: