Mercurial > hg > mercurial-crew-with-dirclash
view templates/gitweb/index.tmpl @ 4012:d1e31d7f7d44
fix handling of multiple Content-type headers
This can happen if an error happens while sending
application/mercurial-0.1 content. The error page will
be sent resulting (for at least lighttpd) in the following
headers:
Content-type: application/mercurial-0.1
Content-type: text/html
which result in req.proto = 'application/mercurial-0.1, text/html'
fix issue344
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 29 Dec 2006 05:27:48 +0100 |
parents | 2896ce093ec4 |
children | 46c5e1ee8aaa |
line wrap: on
line source
#header# <title>Mercurial repositories index</title> </head> <body> <div class="page_header"> <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a>Repositories list </div> <table cellspacing="0"> <tr> <td><a href="?sort=#sort_name#">Name</a></td> <td><a href="?sort=#sort_description#">Description</a></td> <td><a href="?sort=#sort_contact#">Contact</a></td> <td><a href="?sort=#sort_lastchange#">Last change</a></td> <td> </td> <tr> #entries%indexentry# </table> <div class="page_footer"> #motd# </div> </body> </html>