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

Re: [PATCH][gitweb] Make it possible to retrieve HEAD plain blob

From
BJBertrand Jacquin <beber.mailing@gmail.com>
Date
Jun 6, 2006, 22:10 UTC
Message-ID
<4fb292fa0606061510s73fa6f3ag6e12766370749c77@mail.gmail.com>
In-Reply-To
<7vwtbulz32.fsf@assigned-by-dhcp.cox.net>
On 6/7/06, Junio C Hamano <junkio@cox.net> wrote:
Show 10 quoted lines
> "Bertrand Jacquin" <beber.mailing@gmail.com> writes:
>
> > This is also a gitweb fault which always define document as plain-text
> > instead of correct MIME.
>
> But that is somewhat unfair to blame it for -- we do not store
> what the correct mime-type is for each blob, so gitweb has to
> choose between guessing and getting it wrong, or not guessing
> and havign the browser deal with it.  It chose the latter, which
> is understandably sensible.

I'm ok with that. Browser can deal with if serveur do pass to it a type=text/plain. And it's case for now :('

-- 
# Beber : beber@gna.org
# IM : beber@jabber.fr
# http://guybrush.ath.cx, irc://irc.freenode.net/#{e.fr,gentoofr}
Previous: Junio C Hamano
Message 5 of 5 in “[gitweb] Make it possible to retrieve HEAD plain blob”
  1. [gitweb] Make it possible to retrieve HEAD plain blobPetr Baudis, Jun 6, 2006
  2. Jakub NarebskiJun 6, 2006
  3. Bertrand JacquinJun 6, 2006
  4. Junio C HamanoJun 6, 2006
  5. Bertrand JacquinJun 6, 2006

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.