I did this
curl -x [HTTP proxy] ws://another.example.com/
This makes curl send something like this to the proxy:
GET ws://another.example.com/ HTTP/1.1
Host: another.example.com
...
I expected the following
It should send a CONNECT HTTP request connecting to the target:
CONNECT another.example.com:80 HTTP/1.1
Host: another.example.com
...
curl/libcurl version
curl 8.20.0 (and git master)
operating system
any
I did this
curl -x [HTTP proxy] ws://another.example.com/This makes curl send something like this to the proxy:
I expected the following
It should send a CONNECT HTTP request connecting to the target:
curl/libcurl version
curl 8.20.0 (and git master)
operating system
any