Re: [PATCH v7 08/12] test-http-server: add simple authentication
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 26, 2023, 22:27 UTC
- Message-ID
- <xmqqwn599bk7.fsf@gitster.g>
- In-Reply-To
- <Y9LvFMzriAWUsS58@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
>> I suspect this could all be done as a CGI wrapping git-http-backend. You >> can influence the HTTP response code by sending: > ... > And here's a minimally worked-out example of that approach. It's on top > of your patches so I could use your credential-helper infrastructure in > the test, but the intent is that it would replace all of the test-tool > server patches and be rolled into t5556 as appropriate.
Thanks for helping Matthew's topic move forward. I very much like seeing apache used for tests in this sample approach, like all the other http tests we do with apache, instead of a custom server that we need to ensure that it mimics the real-world use cases and we have to maintain.