W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2007

[Bug 848] Content Negotiation (or MIME Types)

From: <bugzilla@wiggum.w3.org>
Date: Tue, 11 Sep 2007 20:21:33 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IVCEn-0005po-Rr@wiggum.w3.org>


------- Comment #1 from streaky@mybrokenlogic.com  2007-09-11 20:21 -------
This bug is invalid, quoting from the Bible (RFC 2616 - 14.1):

"If no Accept header field is present, then it is assumed that the client
accepts all media types. If an Accept header field is present, and if the
server cannot send a response which is acceptable according to the combined
Accept field value, then the server SHOULD send a 406 (not acceptable)

So sending no header is fine, it's the same as */*, thus it accepts everything,
and f you want that to mean application/xhtml+xml then so be it.

I realise the bug is hugely old but it's not marked as resolved so I thought I
should point this out.
Received on Tuesday, 11 September 2007 20:21:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:30 UTC