[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 denny vrandecic denny.vrande...@wikimedia.de changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #9 from denny vrandecic denny.vrande...@wikimedia.de --- Closed older resolved bugs as verified. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 Tim Starling tstarl...@wikimedia.org changed: What|Removed |Added Status|NEW |RESOLVED CC||tstarl...@wikimedia.org Resolution||FIXED --- Comment #8 from Tim Starling tstarl...@wikimedia.org 2012-10-14 23:36:28 UTC --- Merged I6b7fbc5f. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 Sam Reed (reedy) s...@reedyboy.net changed: What|Removed |Added AssignedTo|wikibugs-l@lists.wikimedia. |wikidata-bugs@lists.wikimed |org |ia.org -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 Daniel Kinzler daniel.kinz...@wikimedia.de changed: What|Removed |Added Component|WikidataRepo|ContentHandler AssignedTo|wikidata-bugs@lists.wikimed |wikibugs-l@lists.wikimedia. |ia.org |org Product|MediaWiki extensions|MediaWiki Target Milestone|--- |1.21.0 release -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 Lydia Pintscher lydia.pintsc...@wikimedia.de changed: What|Removed |Added Keywords||need-volunteer CC||lydia.pintscher@wikimedia.d ||e -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 --- Comment #6 from Daniel Kinzler daniel.kinz...@wikimedia.de 2012-09-07 07:42:00 UTC --- (In reply to comment #5) Why does an HTTP error need to be served at all? Couldn't there be a simple notice like we used to serve for empty pages be displayed? e.g. /* This page uses a content model that is not supported by action=raw */ Because *programs* use this, and programs don't understand comments. They'd just take that as the actual page text, possibly using it as the basis for an edit etc. We can serve such a comment, but it must be accompanied by a 4xx response code. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 --- Comment #7 from Daniel Kinzler daniel.kinz...@wikimedia.de 2012-09-07 07:50:03 UTC --- A quick research shows these options: 418: I'm a tea pot (RFC 2324). It's defined thus: Any attempt to brew coffee with a teapot should result in the error code 418 I'm a teapot. The resulting entity body MAY be short and stout. Thanks to Johl for that idea. I think however we might rather want to go with this: 415: Unsupported Media Type (RFC 2616). Sounds good: The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 Daniel Kinzler daniel.kinz...@wikimedia.de changed: What|Removed |Added CC||daniel.kinz...@wikimedia.de --- Comment #1 from Daniel Kinzler daniel.kinz...@wikimedia.de 2012-09-06 09:03:37 UTC --- According to the spec, you are right. I can't really think of a good error code though. I removed support for action=raw for non-text content as a response to an explicit request from the core team - I think it was Tim Starling. The reason is that the current expectation is that this will return wikitext, and returning JSON or XML or whatever would break that expectation. Also, while we can communicate the serialization format using the ContentType header, there is no way to tell the client which content *model* is used, which makes it impossible to interpret the returned data. That, and the fact that action=raw is deprecated anyway. So, what error code should be used? A plain 400? Btw, ctype=text/css is kind of like an accept header, and it's incompatible with the content model used in Q207, so... it kind of is a 406. Just that the format wasn't specified in the accept header. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 Derk-Jan Hartman hartman.w...@gmail.com changed: What|Removed |Added CC||hartman.w...@gmail.com --- Comment #2 from Derk-Jan Hartman hartman.w...@gmail.com 2012-09-06 09:14:07 UTC --- i'd say 404. what the url is requesting does not exist -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 denny vrandecic denny.vrande...@wikimedia.de changed: What|Removed |Added Priority|Unprioritized |Low CC||denny.vrandecic@wikimedia.d ||e -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 Dereckson dereck...@espace-win.org changed: What|Removed |Added CC||dereck...@espace-win.org --- Comment #3 from Dereckson dereck...@espace-win.org 2012-09-06 20:02:24 UTC --- What about 501 Not Implemented? -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 --- Comment #4 from Derk-Jan Hartman hartman.w...@gmail.com 2012-09-06 20:16:06 UTC --- 501 refers specifically to a HTTP method, but this is a simple GET and a GET is supported. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40032] Wikidata should not return 406 Not Acceptable
https://bugzilla.wikimedia.org/show_bug.cgi?id=40032 --- Comment #5 from This, that and the other at.li...@live.com.au 2012-09-07 00:52:00 UTC --- Why does an HTTP error need to be served at all? Couldn't there be a simple notice like we used to serve for empty pages be displayed? e.g. /* This page uses a content model that is not supported by action=raw */ -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l