Re: [PATCH] gitweb: use correct mime type even if filename has multiple dots.

From: Martin Waitz <tali@admingilde.org>
Date: 2006-09-19 18:29:25
On Sun, Sep 17, 2006 at 10:23:45AM +0200, Jakub Narebski wrote:
> Martin Waitz wrote:
> 
> > hoi :)
> > 
> > hmm, but it didn't work for me.
> > I had filenames like "man/program.8.html" which got served as
> > "text/html" with the old code.
> 
> And why it shouldn't? From the extension it is HTML page, I would guess
> manpage converted to HTML (pretty-printed manpage). And it should be served
> with text/html mimetype.

arg, typo, it got served as "text/plain".

-- 
Martin Waitz

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Tue Sep 19 18:31:14 2006

This archive was generated by hypermail 2.1.8 : 2006-09-19 18:31:58 EST