GNU bug report logs - #25518
25.1.91; url-retrieve does not work with https over proxy

Previous Next

Package: emacs;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Tue, 24 Jan 2017 13:26:01 UTC

Severity: normal

Found in version 25.1.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: 25518 <at> debbugs.gnu.org
Subject: bug#25518: 25.1.91; url-retrieve does not work with https over proxy
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, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 5 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.