Attempting to use action=raw on a page using the Wikidata content model gives a HTTP 406 error:
http://wikidata-test-repo.wikimedia.de/w/index.php?title=Data:Q207&action=raw&ctype=text/css
This error is reserved for instances where the browser's "Accept" header does not list anything that the server can provide. [1] But modern browsers pass in "*/*" for this header, meaning all content types are acceptable, so error 406 should never be seen.
Instead of serving 406, either the raw page content (as stored in the DB) should indeed be provided, or a more appropriate error should be provided.
[1] https://tools.ietf.org/html/rfc2616#section-10.4.7
Version: unspecified
Severity: normal