Re: Support various HTTP authentication methods

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Daniel Stenberg <daniel@xxxxxxx> [2009-02-04 23:15]:
> 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/>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux