curl-library
Re: Force cURL to use GET on proxy for HTTPs requests
From: Benjamin Morel via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 6 Dec 2017 11:37:20 +0100
Date: Wed, 6 Dec 2017 11:37:20 +0100
>
> you can cheat by using --request-target (libcurl: CURLOPT_REQUEST_TARGET)
> to specify an https url:
Clever. I didn't know about --request-target. Got it to work with:
curl -v --request-target "https://example.com/path/to/resource" -x
localhost:8080 http://localhost:8080/
WIP at https://github.com/curl/curl/pull/2156
Awesome, thanks! Can't wait.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-12-06