W3C home > Mailing lists > Public > public-swd-wg@w3.org > July 2007

ISSUE-58: .htaccess \'accept header\' ONLY responds to a header which EXACTLY matches \"application/rdf+xml\"

From: SWD Issue Tracker <dean+cgi@w3.org>
Date: Tue, 17 Jul 2007 12:12:39 +0000 (GMT)
To: public-swd-wg@w3.org
Message-Id: <20070717121239.2E01B6B644@kent.w3.org>


ISSUE-58: .htaccess 'accept header' ONLY responds to a header which EXACTLY matches "application/rdf+xml"

http://www.w3.org/2006/07/SWD/track/issues/58

Raised by: Jon Phipps
On product: Recipes

Per Tim BL

"The recipe for responding to an accept header only responds to a header which
EXACTLY matches "application/rdf+xml". However, a client may send (and often
will) a header with many  comma-separated values, and they may have quality
parameters (q=0.xx).

This is a serious problem as people are copying the recipe, and making sites
which do not work."

This applies to Recipes 3, 4, 5 and references this part of the .htaccess Apache
configuration:

"...

# Rewrite rule to serve RDF/XML content if requested 
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml

..."

The rewrite condition regular expression: "application/rdf\+xml" 
needs to be rewritten
Received on Tuesday, 17 July 2007 12:12:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:17:29 GMT