[PATCH v2 0/1] Proactive authentication over HTTP
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Jul 4, 2024, 00:17 UTC
- Message-ID
- <20240704001748.746429-1-sandals@crustytoothpaste.net>
- In-Reply-To
- <20240628002742.3421311-1-sandals@crustytoothpaste.net>
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 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 | 60 ++++++++++++++++-- t/t5563-simple-http-auth.sh | 116 ++++++++++++++++++++++++++++++++++ 3 files changed, 190 insertions(+), 6 deletions(-)