We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-A
> nc -l 8000 & sleep 0.1 && curl -A '' -x http://localhost:8000 https://httpbin.org/get CONNECT httpbin.org:443 HTTP/1.1 Host: httpbin.org:443 User-Agent: Proxy-Connection: Keep-Alive
(well, actually @dfandrich did), while:
> nc -l 8000 & sleep 0.1 && curl --proxy-header 'User-Agent:' -x http://localhost:8000 https://httpbin.org/get CONNECT httpbin.org:443 HTTP/1.1 Host: httpbin.org:443 Proxy-Connection: Keep-Alive
Not an empty User-Agent: with -A.
User-Agent:
curl 8.5.0
macOS/Linux/Windows happens on all of them
The text was updated successfully, but these errors were encountered:
http_proxy: a blank CURLOPT_USERAGENT should not be used in CONNECT
0bf37e5
Extended test 80 to verify this. Reported-by: Stefan Eissing Fixes #12680
693cd16
cf-h1-proxy: no CURLOPT_USERAGENT in CONNECT with hyper
1d3991b
Follow-up to 693cd16 which was incomplete Ref #12680
e186ca6
Follow-up to 693cd16 which was incomplete Ref #12680 Closes #12697
Successfully merging a pull request may close this issue.
I did this
(well, actually @dfandrich did), while:
I expected the following
Not an empty
User-Agent:
with-A
.curl/libcurl version
curl 8.5.0
operating system
macOS/Linux/Windows happens on all of them
The text was updated successfully, but these errors were encountered: