From: "Shawn O. Pearce" <spearce@spearce.org>
To: Tay Ray Chuan <rctay89@gmail.com>
Cc: Martin Storsj? <martin@martin.st>,
L?na?c Huard <lenaic@lhuard.fr.eu.org>,
git@vger.kernel.org
Subject: Re: [PATCH] Allow git to use any HTTP authentication method.
Date: Mon, 28 Dec 2009 07:37:01 -0800 [thread overview]
Message-ID: <20091228153701.GA2252@spearce.org> (raw)
In-Reply-To: <be6fef0d0912280412w58401f10n972f9198144cd580@mail.gmail.com>
Tay Ray Chuan <rctay89@gmail.com> wrote:
> On Mon, Dec 28, 2009 at 8:09 PM, Martin Storsj?? <martin@martin.st> wrote:
> > On Mon, 28 Dec 2009, L??na??c Huard wrote:
> >
> >> The attached patch makes git configure libcurl to negotiate the most suitable
> >> HTTP authentication method.
...
> > Something similar has already been queued for inclusion, and is available
> > in the branch 'next', in commit b8ac923010484908d8426cb8ded5ad7e8c21a7f6.
> > The patch available there requires you to set http.authAny for the libcurl
> > option to be enabled.
Uh, stupid question, but why must we enable this option? I don't
have to enable something in my browser before I use digest auth to
visit a website, why do I need to enable it in git?
How does one use git clone with an http:// URL with digest
authentication? Its not obvious to the user that you would need
to first export an obtuse environment variable to get something
that should Just Work(tm).
Yes, I realize you may need to perform an extra HTTP request to
start the transaction, but why aren't we doing that? Isn't it only
1 additional request to discover the desired authentication method?
--
Shawn.
next prev parent reply other threads:[~2009-12-28 15:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-28 10:54 [PATCH] Allow git to use any HTTP authentication method Lénaïc Huard
2009-12-28 12:09 ` Martin Storsjö
2009-12-28 12:12 ` Tay Ray Chuan
2009-12-28 15:37 ` Shawn O. Pearce [this message]
2009-12-28 15:50 ` Martin Storsjö
2009-12-28 15:53 ` Shawn O. Pearce
2009-12-28 17:15 ` Tay Ray Chuan
2009-12-28 18:04 ` Junio C Hamano
2009-12-28 18:10 ` Martin Storsjö
2009-12-28 18:15 ` Shawn O. Pearce
2009-12-28 12:37 ` Matthieu Moy
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=20091228153701.GA2252@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=lenaic@lhuard.fr.eu.org \
--cc=martin@martin.st \
--cc=rctay89@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.
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.