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

Re: More detailed error message for 403 forbidden.

From
Yi, EungJun <semtlenori@gmail.com>
Date
Mar 31, 2013, 09:17 UTC
Message-ID
<CAFT+Tg-fvp-3s70y5UQH86pp_nu=HRNFye_kbRa7VJSQuv=iLg@mail.gmail.com>
In-Reply-To
<20130328184530.GA14691@sigill.intra.peff.net>
Show 11 quoted lines
>
> Maybe. But I would worry somewhat about sites which provide a useless
> and verbose text/plain message. Ideally an x-git-error-message would be
> no more than few lines, suitable for the error message of a terminal
> program. I would not want a site-branded "Your page cannot be found.
> Here's a complete navigation bar" page to be spewed to the terminal.
> Those tend to be text/html, though, so we may be safe. It's just that
> we're gambling on what random servers do, and if we show useless spew
> even some of the time, that would be a regression.
>
> -Peff
I completely agree with you.

And should git client need to add x-git-error-message in Accept header and/or perhaps language preference in Accept-Language header?

    Accept: x-git-error-message, */*;q=0.8
    Accept-Language: ko,en;q=0.8
Previous: Jeff KingNext: Junio C Hamano
Message 5 of 7 in “More detailed error message for 403 forbidden.”
  1. Yi, EungJunMar 27, 2013
  2. Jeff KingMar 28, 2013
  3. Jonathan NiederMar 28, 2013
  4. Jeff KingMar 28, 2013
  5. Yi, EungJunMar 31, 2013
  6. Junio C HamanoMar 28, 2013
  7. Jeff KingMar 28, 2013

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.