git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Allow any HTTP authentication scheme, not only basic

From
Martin Storsjo <martin@martin.st>
Date
Mar 31, 2009, 17:31 UTC
Message-ID
<1238520686-546-1-git-send-email-martin@martin.st>
Signed-off-by: Martin Storsjo <martin@martin.st>
---
 http.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/http.c b/http.c
index 2fc55d6..7cb53e8 100644
--- a/http.c
+++ b/http.c
@@ -165,6 +165,7 @@ static CURL *get_curl_handle(void)
 #if LIBCURL_VERSION_NUM >= 0x070907
 	curl_easy_setopt(result, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
 #endif
+	curl_easy_setopt(result, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
 
 	init_curl_http_auth(result);
 
-- 
1.6.0.2
Next: Martin Storsjo
Message 1 of 4 in “Allow any HTTP authentication scheme, not only basic”
  1. Allow any HTTP authentication scheme, not only basicMartin Storsjo, Mar 31, 2009
  2. Allow any HTTP authentication scheme, not only basicMartin Storsjo, Mar 31, 2009
  3. Johannes SchindelinMar 31, 2009
  4. Martin StorsjöApr 1, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.