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

Re: Handle HTTP error 511 Network Authentication Required (standard secure proxy authentification/captive portal detection)

From
Daniel Stenberg <daniel@haxx.se>
Date
Feb 20, 2012, 19:06 UTC
Message-ID
<alpine.DEB.2.00.1202202002330.28090@tvnag.unkk.fr>
In-Reply-To
<20120220154452.GA27456@sigill.intra.peff.net>
On Mon, 20 Feb 2012, Jeff King wrote:
Show 6 quoted lines
>  3. Open a browser and say "Ah, I see. A captive portal".
>
> We should already be doing that. Adding more support could make step 3 a 
> little nicer, but like I said, I'd be more interested in seeing a real case 
> first. It may even be a feature that would be more appropriate to curl 
> (which git builds on for http access).

We're already discussing the 511 in the curl camp as well, but with even more sighs and hands in the air. 511 is clearly intended for HTML-understanding user agents and curl is not one of those. IMHO, curl will remain to simply help users to figure out that it is 511 and leave it at that.

As a git user, I would probably be very surprised if using 'git' suddenly caused by browser to pop up a captive portal login. I would prefer git to instead properly explain to me that is being the victim of a 511 and what I should do to fix it.

-- 
  / daniel.haxx.se
Previous: Nicolas MailhotNext: Jeff King
Message 12 of 14 in “Handle HTTP error 511 Network Authentication Required (standard secure proxy authentification/captive portal detection)”
  1. Nicolas MailhotFeb 19, 2012
  2. Jeff KingFeb 20, 2012
  3. Nicolas MailhotFeb 20, 2012
  4. Jeff KingFeb 20, 2012
  5. Nicolas MailhotFeb 20, 2012
  6. Jeff KingFeb 20, 2012
  7. Nicolas MailhotFeb 20, 2012
  8. Jeff KingFeb 20, 2012
  9. Nicolas MailhotFeb 20, 2012
  10. Jeff KingFeb 20, 2012
  11. Nicolas MailhotFeb 20, 2012
  12. Daniel StenbergFeb 20, 2012
  13. Jeff KingFeb 20, 2012
  14. Junio C HamanoFeb 20, 2012

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.