unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Romain Ouabdelkader <romain.ouabdelkader@gmail.com>
Cc: 37187@debbugs.gnu.org, Thomas Fitzsimmons <fitzsim@fitzsim.org>
Subject: bug#37187: 26.2; url-retrieve redirect lost Authorization headers
Date: Sat, 21 Sep 2019 10:40:51 +0200	[thread overview]
Message-ID: <875zlm11po.fsf@gnus.org> (raw)
In-Reply-To: <CAJ8YToZyH+6u85gr_vNOfWZs7N1hpR3WDU_meLM9sJfKvdYR0Q@mail.gmail.com> (Romain Ouabdelkader's message of "Sat, 21 Sep 2019 10:26:04 +0200")

Romain Ouabdelkader <romain.ouabdelkader@gmail.com> writes:

> It doesn't forward the auth on the first example I sent with flask.
> I'm adding the header in 'url-request-extra-headers',
> perhaps there is another way to do it.

The normal way auth happens is that the server returns 401 Unauthorized
and then the client sends the credentials...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-09-21  8:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-25 22:08 bug#37187: 26.2; url-retrieve redirect lost Authorization headers Romain Ouabdelkader
2019-09-20 20:36 ` Lars Ingebrigtsen
2019-09-21  0:01   ` Romain Ouabdelkader
2019-09-21  7:41     ` Lars Ingebrigtsen
2019-09-21  8:26       ` Romain Ouabdelkader
2019-09-21  8:40         ` Lars Ingebrigtsen [this message]
2019-09-21  9:27           ` Romain Ouabdelkader
2020-07-19 20:24             ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=875zlm11po.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=37187@debbugs.gnu.org \
    --cc=fitzsim@fitzsim.org \
    --cc=romain.ouabdelkader@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).