Closed mike820324 closed 7 years ago
curl --proxy http://127.0.0.1:5580 http://www.google.com curl --proxy http://127.0.0.1:5580 https://www.google.com
Maybe you mean
curl --proxy http://127.0.0.1:5580 https://www.google.com
curl --proxy http://127.0.0.1:5580 --proxytunnel https://www.google.com
Yes, the proxytunnel options will force curl to use CONNECT in every protocol.
The above comment that I want to describe is how http client such as curl and firefox handle http proxy in different situations. :)
So if one want to check the CONNECT method, either
or
If one want to check the other way,
Sorry for the misunderstanding.
Closed via #235
Adding HTTP Proxy Support. There may be two cases when firefox is configured as http proxy,
Survey:
Firefox Behavior:
The following curl command serve the same functionality.
P.S curl also has the proxytunnel option, which will force all the query to use connect instead.