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
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1IVCEn-0005po-Rr@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=848





------- 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)
response."

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:59 GMT