git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: (Re: gitweb not friendly to firefox?) and unusable in the lynx

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 3, 2007, 02:57 UTC
Message-ID
<200703030357.18822.jnareb@gmail.com>
In-Reply-To
<E1HNATn-0005Y6-HW@flower>
Oleg Verych wrote:
Show 12 quoted lines
>> 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
Previous: Oleg VerychNext: Nicolas Pitre
Message 11 of 24 in “Re: gitweb not friendly to firefox?”
  1. Eygene RyabinkinMar 1, 2007
  2. Raimund BauerMar 1, 2007
  3. Li Yang-r58472Mar 2, 2007
  4. Junio C HamanoMar 2, 2007
  5. Li Yang-r58472Mar 2, 2007
  6. Junio C HamanoMar 2, 2007
  7. Li Yang-r58472Mar 2, 2007
  8. Junio C HamanoMar 2, 2007
  9. Li Yang-r58472Mar 2, 2007
  10. (Re: gitweb not friendly to firefox?) and unusable in the lynxOleg Verych, Mar 2, 2007
  11. Jakub NarebskiMar 3, 2007
  12. Nicolas PitreMar 3, 2007
  13. Jakub NarebskiMar 3, 2007
  14. Nicolas PitreMar 3, 2007
  15. Jakub NarebskiMar 3, 2007
  16. Nicolas PitreMar 3, 2007
  17. Jakub NarebskiMar 4, 2007
  18. Uwe Kleine-KönigMar 4, 2007
  19. Nicolas PitreMar 3, 2007
  20. Oleg VerychMar 3, 2007
  21. Johannes SchindelinMar 3, 2007
  22. Junio C HamanoMar 3, 2007
  23. Oleg VerychMar 3, 2007
  24. sfMar 8, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.