git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Support various HTTP authentication methods

From
Aristotle Pagaltzis <pagaltzis@gmx.de>
Date
Feb 4, 2009, 23:25 UTC
Message-ID
<20090204232555.GA2358@klangraum.plasmasturm.org>
In-Reply-To
<alpine.DEB.1.10.0902042307540.3383@yvahk2.pbagnpgbe.fr>
* Daniel Stenberg <daniel@haxx.se> [2009-02-04 23:15]:
Show 7 quoted lines
> On Wed, 4 Feb 2009, Aristotle Pagaltzis wrote:
>> Does that have to do with something being missing in the
>> Digest support or is that operator error? If the latter, what
>> might be the culprit – how do I diagnose it?
>
> Can you use curl the command line tool with Digest successfully
> against some of those URLs?
Yes, that works.

I have cross-checked the error and access log and here is what happens – I have marked the requests that are sent with correct credentials with a `@` and those which are sent with mismatched credentials with a `#`:

GET /x.git/info/refs : 401 GET @ /x.git/info/refs : 200 GET # /x.git/HEAD : 400 GET /x.git/objects/7e/c6910c4d1733d575f955063fd52b2b0ae7ca5b : 401 GET @ /x.git/objects/7e/c6910c4d1733d575f955063fd52b2b0ae7ca5b : 404 GET @ /x.git/objects/info/http-alternates : 404 GET @ /x.git/objects/info/alternates : 404 GET /x.git/objects/info/packs : 401 GET @ /x.git/objects/info/packs : 200 GET # /x.git/objects/pack/pack-a9bed5817173acdf0a2dc86ddaf36c4f0c7f9ea3.idx : 400

Repeating the clone always yiels this exact sequence.
If I use `curl` manually to fetch those URIs, they work just fine.
> What libcurl version are you using?
    $ curl --version
    curl 7.16.2 (i686-pc-linux-gnu) libcurl/7.16.2 OpenSSL/0.9.8g
    zlib/1.2.3 libidn/1.5
    Protocols: tftp ftp telnet dict ldap http file https ftps
    Features: IDN IPv6 Largefile NTLM SSL libz
Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>
Previous: Daniel StenbergNext: Daniel Stenberg
Message 11 of 16 in “Support various HTTP authentication methods”
  1. Support various HTTP authentication methodsMoriyoshi Koizumi, Jan 29, 2009
  2. Junio C HamanoJan 29, 2009
  3. Moriyoshi KoizumiJan 29, 2009
  4. Support various HTTP authentication methodsMoriyoshi Koizumi, Feb 2, 2009
  5. Junio C HamanoFeb 2, 2009
  6. Junio C HamanoFeb 2, 2009
  7. 1/2 http.c: fix various style violationsJunio C Hamano, Feb 2, 2009
  8. 2/2 Support various HTTP authentication methodsJunio C Hamano, Feb 2, 2009
  9. Aristotle PagaltzisFeb 4, 2009
  10. Daniel StenbergFeb 4, 2009
  11. Aristotle PagaltzisFeb 4, 2009
  12. Daniel StenbergFeb 5, 2009
  13. Moriyoshi KoizumiFeb 2, 2009
  14. Johannes SixtJan 29, 2009
  15. Moriyoshi KoizumiJan 29, 2009
  16. Johannes SixtJan 29, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.