Subject: bug#25518: 25.1.91; url-retrieve does not work with https over proxy

From: Andreas Schwab <[email-masked]>
Date: Tue, 24 Jan 2017 14:25:01 +0100

url-retrieve should use CONNECT when talking to a https URL over a proxy
and then talk over the connection as if not using a proxy.

;; use locally running privoxy as proxy
(setq url-proxy-services '(("https" . "localhost:8118")))
(with-current-buffer (url-retrieve-synchronously "https://www.heise.de")
  (buffer-string)) => "HTTP/1.1 200 Connection established\n\n"

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."