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

Re: bug with gitweb on kernel.org

From
Jakub Narebski <jnareb@gmail.com>
Date
Apr 24, 2007, 01:06 UTC
Message-ID
<f0jkvm$31p$1@sea.gmane.org>
In-Reply-To
<1177294925.24896.48.camel@localhost.localdomain>
J.H. wrote:
Show 6 quoted lines
> Well the only difference in the pages being served is the mime type
> application/html vs. application/xhtml+xml.  Does anyone know the
> original impetus to using application/xhtml+xml (despite the fact that
> it's technically the correct choice) vs. just using application/html for
> everything?  I'm sure there was a good reason behind it and I'd rather
> know what that reason was before I got changing things

The idea was to serve application/xhtml+xml to browsers which _explicitely_ support it. But coupled with the fact that gitweb on kernel.org is modified gitweb with caching, and it looks like it caches also HTTP headers... I think simplest solution would be to remove complication, and always serve text/html (at least for kernel.org gitweb with caching modifications).

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Johan HerlandNext: J.H.
Message 8 of 13 in “bug with gitweb on kernel.org”
  1. Nicolas PitreApr 20, 2007
  2. J.H.Apr 23, 2007
  3. Nicolas PitreApr 23, 2007
  4. J.H.Apr 23, 2007
  5. H. Peter AnvinApr 24, 2007
  6. H. Peter AnvinApr 24, 2007
  7. Johan HerlandApr 24, 2007
  8. Jakub NarebskiApr 24, 2007
  9. J.H.Apr 24, 2007
  10. Johan HerlandApr 24, 2007
  11. Johan HerlandApr 24, 2007
  12. J.H.Apr 24, 2007
  13. J.H.Apr 24, 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.