On 21/10/2013 21:52, "Daniel Kinzler" <[email protected]> wrote:

>Am 21.10.2013 16:48, schrieb Kingsley Idehen:
>> Can someone not change 302 to 303 re: RewriteRule ^/entity/(.*)$
>> https://www.wikidata.org/wiki/Special:EntityData/$1 [R=302,QSA] ?
>
>
>The thing is that we intended this to be an internal apache rewrite, not
>a HTTP
>redirect at all. Because Special:EntityData itself implements the content
>negotiation that triggers a 303 when appropriate.
>
>So, currently we get a 302 from /entity/Q$1 to
>/wiki/Special:EntityData/$1 (the
>generic document URI), which then applies content negotiation and sends a
>303
>pointing to e.g. /wiki/Special:EntityData/$1.ttl (the URL of a specific
>serialization, e.g. in turtle).

Wondering why the 2nd step (conneg) returns a 303. Shouldn't it just be a
200 with a content location?
michael
>
>What I want is to remove the initial 302 completely using an internal
>rewrite,
>not replace it with another 303 - since I don't think that's semantically
>correct. This did not work when tried, for reasons unknown to me. Someone
>suggester that the wrong options where set for the rewrite rule, who
>knows.
>
>Kingsley, do you think having two 303s (from /entity/Q$1 to
>/wiki/Special:EntityData/$1 and another one to
>wiki/Special:EntityData/$1.xxx)
>would be appropriate or at least better than what we have now?
>
>-- daniel
>
>_______________________________________________
>Wikidata-l mailing list
>[email protected]
>https://lists.wikimedia.org/mailman/listinfo/wikidata-l



-----------------------------
http://www.bbc.co.uk
This e-mail (and any attachments) is confidential and
may contain personal views which are not the views of the BBC unless 
specifically stated.
If you have received it in
error, please delete it from your system.
Do not use, copy or disclose the
information in any way nor act in reliance on it and notify the sender
immediately.
Please note that the BBC monitors e-mails
sent or received.
Further communication will signify your consent to
this.
-----------------------------

_______________________________________________
Wikidata-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-l

Reply via email to