From: "Yi, EungJun" <semtlenori@gmail.com>
To: git@vger.kernel.org
Subject: Re: More detailed error message for 403 forbidden.
Date: Sun, 31 Mar 2013 18:17:50 +0900 [thread overview]
Message-ID: <CAFT+Tg-fvp-3s70y5UQH86pp_nu=HRNFye_kbRa7VJSQuv=iLg@mail.gmail.com> (raw)
In-Reply-To: <20130328184530.GA14691@sigill.intra.peff.net>
>
> 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
next prev parent reply other threads:[~2013-03-31 9:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 3:29 More detailed error message for 403 forbidden Yi, EungJun
2013-03-28 18:36 ` Jeff King
2013-03-28 18:41 ` Jonathan Nieder
2013-03-28 18:45 ` Jeff King
2013-03-31 9:17 ` Yi, EungJun [this message]
2013-03-28 19:11 ` Junio C Hamano
2013-03-28 20:18 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFT+Tg-fvp-3s70y5UQH86pp_nu=HRNFye_kbRa7VJSQuv=iLg@mail.gmail.com' \
--to=semtlenori@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).