git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Oleg Verych <olecom@flower.upol.cz>
Cc: Junio C Hamano <junkio@cox.net>,
	"Li Yang-r58472" <LeoLi@freescale.com>,
	rea-git@codelabs.ru, "Raimund Bauer" <ray@softwarelandschaft.com>,
	git@vger.kernel.org, Alp Toker <alp@atoker.com>
Subject: Re: (Re: gitweb not friendly to firefox?) and unusable in the lynx
Date: Sat, 3 Mar 2007 03:57:18 +0100	[thread overview]
Message-ID: <200703030357.18822.jnareb@gmail.com> (raw)
In-Reply-To: <E1HNATn-0005Y6-HW@flower>

Oleg Verych wrote:
>> From: Junio C Hamano
>> Newsgroups: gmane.comp.version-control.git
>> Subject: Re: gitweb not friendly to firefox?
>> Date: Fri, 02 Mar 2007 02:17:31 -0800
>[]
>>
>> This is puzzling....
> 
> Guys, changing content to "application/xhtml+xml" was a bad idea.
> Here i see FF doesn't working, but i have lynx not working at all :(
> 
> "text/html" is OK, unless you have shiny modern AJAX sh1t on board...

Well, change from text/html to (sometimes) application/xhtml+xml was
made in commit f6801d669 by Alp Toker with the following explanation:

    "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.

By "conservatively" it means that it uses 'application/xhtml+xml' only when
client explicitly claims that it accepts its, and it is not due to for
example */* accept globbing.

So if lynx isn't working, it is its damn fault...
-- 
Jakub Narebski
Poland

  reply	other threads:[~2007-03-03  2:55 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 10:57 gitweb not friendly to firefox? Li Yang-r58472
2007-03-01 11:34 ` Andy Parkins
2007-03-01 11:54   ` Li Yang-r58472
2007-03-01 11:56   ` Junio C Hamano
2007-03-01 13:34 ` Raimund Bauer
2007-03-01 14:00   ` Eygene Ryabinkin
2007-03-01 14:26     ` Raimund Bauer
2007-03-02  2:28     ` Li Yang-r58472
2007-03-02  4:40       ` Junio C Hamano
2007-03-02  6:47         ` Li Yang-r58472
2007-03-02  6:51           ` Junio C Hamano
2007-03-02  9:36             ` Li Yang-r58472
2007-03-02 10:17               ` Junio C Hamano
2007-03-02 10:27                 ` Li Yang-r58472
2007-03-02 16:19                 ` (Re: gitweb not friendly to firefox?) and unusable in the lynx Oleg Verych
2007-03-03  2:57                   ` Jakub Narebski [this message]
2007-03-03  3:25                     ` Nicolas Pitre
2007-03-03  3:41                       ` Jakub Narebski
2007-03-03  3:49                         ` Nicolas Pitre
2007-03-03  3:58                           ` Jakub Narebski
2007-03-03  4:34                             ` Nicolas Pitre
2007-03-04  0:49                               ` Jakub Narebski
2007-03-04  9:47                                 ` Uwe Kleine-König
2007-03-03  5:09                           ` Nicolas Pitre
2007-03-03 13:04                             ` Oleg Verych
2007-03-03 13:25                             ` Johannes Schindelin
2007-03-03 13:29                       ` Junio C Hamano
2007-03-03 14:19                         ` Oleg Verych
2007-03-08 15:31                     ` sf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703030357.18822.jnareb@gmail.com \
    --to=jnareb@gmail.com \
    --cc=LeoLi@freescale.com \
    --cc=alp@atoker.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=olecom@flower.upol.cz \
    --cc=ray@softwarelandschaft.com \
    --cc=rea-git@codelabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).