1
0
mirror of https://github.com/git/git.git synced 2024-10-03 16:22:22 +02:00
git/gitweb
Alp Toker f6801d669e gitweb: Send XHTML as 'application/xhtml+xml' where possible
"The 'text/html' media type [RFC2854] is primarily for HTML, not for
XHTML. In general, this media type is NOT suitable for XHTML."

This patch makes gitweb use content negotiation to conservatively send
pages as Content-Type 'application/xhtml+xml' when the user agent
explicitly claims to support it.

It falls back to 'text/html' even if the user agent appears to
implicitly support 'application/xhtml+xml' due to a '*/*' glob, working
around an insidious bug in Internet Explorer where sending the correct
media type prevents the page from being displayed.

Signed-off-by: Alp Toker <alp@atoker.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-07-11 14:18:42 -07:00
..
test
gitweb.cgi gitweb: Send XHTML as 'application/xhtml+xml' where possible 2006-07-11 14:18:42 -07:00
gitweb.css gitweb: whitespace cleanup 2006-06-21 02:02:00 -07:00
README Update gitweb README: gitweb is now included with git 2006-06-17 16:06:20 -07:00

GIT web Interface

The one working on:
  http://www.kernel.org/git/

From the git version 1.4.0 gitweb is bundled with git.

Any comment/question/concern to:
  Kay Sievers <kay.sievers@vrfy.org>