mbox series

[v3,0/1] Proactive authentication over HTTP

Message ID 20240710000155.947377-1-sandals@crustytoothpaste.net (mailing list archive)
Headers show
Series Proactive authentication over HTTP | expand

Message

brian m. carlson July 10, 2024, 12:01 a.m. UTC
Currently Git only sends authentication over HTTP once it's received a
401 response from the server.  This series allows users to indicate that
they (or the credential helper) know what kind of authentication is to
be performed and avoid the extra round trip.

Changes since v2:
* Improve parsing of configuration options as suggested by Junio.

Changes since v1:
* Add a `none` option to explicitly reset the value.
* Improve explanation of `auto`.
* Improve commit message to explain tricky edge case.
* Note that TLS should always be used.

brian m. carlson (1):
  http: allow authenticating proactively

 Documentation/config/http.txt |  20 ++++++
 http.c                        |  62 ++++++++++++++++--
 t/t5563-simple-http-auth.sh   | 116 ++++++++++++++++++++++++++++++++++
 3 files changed, 192 insertions(+), 6 deletions(-)