W3C home > Mailing lists > Public > www-validator@w3.org > April 2008

Re: please add Accept header to http request containing application/xhtml+xml

From: Nikita The Spider The Spider <nikitathespider@gmail.com>
Date: Mon, 21 Apr 2008 14:59:49 -0400
Message-ID: <35e76ac10804211159g67d12609i8b01267999180499@mail.gmail.com>
To: "Etienne Miret" <elimerl@gmail.com>
Cc: "Alexandre Alapetite" <alexandre@alapetite.net>, "Dean Edridge" <dean@55.co.nz>, www-validator@w3.org

On Mon, Apr 21, 2008 at 2:47 PM, Etienne Miret <elimerl@gmail.com> wrote:
>  Alexandre Alapetite wrote:
> > The following algorithm does not require any user agent sniffing, is
> > not that dirty, and works with all user agents I have been able to put
> > my hands on (including W3C validator):
> >
>  Well, if I'm correct, Nikita The Spider sends an Accept header of "*/*",
> and with this algorithm, you would send it HTML although it is very able to
> handle XHTML.

You are correct about Nikita, and she sees very few pages with a media
type other than "text/html":

As I say in the article, I speculate that the Accept header of */* is
part of the reason why.

Whole-site HTML validation, link checking and more
Received on Monday, 21 April 2008 19:00:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:07 UTC