]> Kevux Git Server - rit/commit
t5563: add tests for http.emptyAuth with Negotiate
authorMatthew John Cheetham <mjcheetham@outlook.com>
Thu, 16 Apr 2026 09:20:59 +0000 (09:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Apr 2026 16:15:17 +0000 (09:15 -0700)
commit9b1630b97273beceb64ea8f740c5820317aaa8b3
treeacbd1fe4c2a230261014bbaf5b4ffba778da14a2
parent5dbc8c1367226cae6acaa1626d31f01bd186a28c
t5563: add tests for http.emptyAuth with Negotiate

Add tests exercising the interaction between http.emptyAuth and
servers that advertise Negotiate (SPNEGO) authentication.

Verify that auto mode gives Negotiate a chance via empty auth
(resulting in two 401 responses before falling through to
credential_fill with Basic credentials), and that false mode
strips Negotiate immediately (only one 401 response).

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5563-simple-http-auth.sh