all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: tomas@tuxteam.de
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: `url-retrieve' for https behind proxy: 400 bad request
Date: Tue, 8 Nov 2016 18:19:17 +0600	[thread overview]
Message-ID: <CAP_d_8UbWrX=EQNaKkuVKp3E=fVBgPs3y7_sJ8OVxPK=Fj3o=w@mail.gmail.com> (raw)
In-Reply-To: <20161108115818.GB13267@tuxteam.de>

On Tue, Nov 8, 2016 at 6:58 PM,  <tomas@tuxteam.de> wrote:

> Yeah. This is the usual dance for https over proxy (if the proxy allows
> it). Basically, CONNECT tells the proxy to just pass the https stream
> along, untouched.

And it’s the only way to preserve integrity of the connection. With
CONNECT, provided that the origin server presents a valid and matching
certificate and you check it, neither the proxy nor any other
man-in-the-middle between you and the proxy can spoof the origin
server, tamper with requests or responses, or sniff the traffic
between you and the origin. With “GET https://foo/bar”, all of the
above would be possible.



  reply	other threads:[~2016-11-08 12:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08  6:18 `url-retrieve' for https behind proxy: 400 bad request Andrew Savonichev
2016-11-08 11:58 ` tomas
2016-11-08 12:19   ` Yuri Khan [this message]
2016-11-08 16:26   ` David Engster
2016-11-09  8:51     ` tomas
2016-11-10 18:07     ` Andrew Savonichev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP_d_8UbWrX=EQNaKkuVKp3E=fVBgPs3y7_sJ8OVxPK=Fj3o=w@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tomas@tuxteam.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.