Re: Feature Request: Send Accept header

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tim,

Am Donnerstag, 27. März 2003 19:44 schrieb Tim Bagot:
> At 2003-03-27T09:25+0100, Herr Christian Wolfgang Hujer wrote:-
>
> > I want the validator to have an option to send a specific Accept
> > header to the server site that is going to be validated. Thus it is
> > not possible to validate negotiated content. (e.g. try validating
> > http://www.itcqis.com/ will validate the HTML 4.01 version, though
> > mozilla will retrieve the XHTML 1.1 version).
>
> Why can't you just ask the validator to validate e.g.
> <http://www.itcqis.com/start.de.xhtml>? Seems easier than setting an
> Accept header (and indeed Accept-Language).
I could do.
I don't use the validator at all. I use Ant and Xerces to validate my XHTML, 
and I'm always pretty convinced my transformed HTML4 is valid, too, but to be 
sure I use htmltidy, which also has some other advantages.

The servers negotiating content are configured to send HTML4 as text/html per 
default and only send XHTML1.1 as application/xhtml+xml if the user agent 
prefers that over text/html (which, e.g., Mozilla does).

When someone now validates one of my websites using the W3C Validator, he / 
she will think the site is old HTML 4, which I don't like because the site is 
XHTML 1.1 and HTML 4 is only there for backwards compatibility with antique 
browsers like Internet Explorer.


Bye
- -- 
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+hBbRzu6h7O/MKZkRAsU4AJ4gqtE9hgNLZKjMisNQSQXazpMQvwCguq6c
grz2rhIcsJcMU+lcvSWKsJw=
=C2wD
-----END PGP SIGNATURE-----

Received on Friday, 28 March 2003 04:34:28 UTC