jeblad created this task. jeblad added a subscriber: jeblad. jeblad added a project: MediaWiki-extensions-WikibaseRepository. Herald added a subscriber: Aklapper. Herald added a project: Wikidata.
TASK DESCRIPTION Not quite sure if the content negotiation is part of the extension or the site setup. I think it happen after the first hit on the Special:EntityData, and therefore is part of the extension. During negotiation between the external client (as in web browser) and the repo the sequence is now HTTP 301 (secure connection) - HTTP 303 (address resolution) - HTTP 303 (content negotiation) - HTTP 200 (content delivery). The response code for address resolution should be HTTP 303 See other (correct impl., [[ http://www.w3.org/TR/cooluris/ | Cool URIs for the Semantic Web ]]) while content negotiation should be HTTP 302 Found (wrong impl., [[ http://www.w3.org/2001/tag/doc/alternatives-discovery-20061101.html | On Linking Alternative Representations To Enable Discovery And Publishing ]]). There are a lot of sites that use "HTTP 301 Moved permanently" and "HTTP 303 See other" for content negotiation, but "HTTP 302 Found" (also called "HTTP 302 Moved temporarily") is the correct one. See also [[ http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html | HTTP/1.1: Status Code Definitions ]]. TASK DETAIL https://phabricator.wikimedia.org/T103807 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jeblad Cc: jeblad, Aklapper, Wikidata-bugs, aude, Malyacko, P.Copp _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs