Re: [PATCH][gitweb] Make it possible to retrieve HEAD plain blob
- From
- Bertrand 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}