https://bugzilla.wikimedia.org/show_bug.cgi?id=40032
Web browser: ---
Bug #: 40032
Summary: Wikidata should not return 406 Not Acceptable
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l